From 2cdbac4a2d22806d73cf66cab22b418eb6e8692b Mon Sep 17 00:00:00 2001 From: geotan Date: Mon, 20 Apr 2020 21:51:14 +0200 Subject: [PATCH 01/29] other xml issue in wcf/samples --- docs/framework/wcf/samples/custom-service-host.md | 2 +- docs/framework/wcf/samples/discovery-security-sample.md | 2 +- docs/framework/wcf/samples/duplex.md | 3 +-- docs/framework/wcf/samples/durable-instance-context.md | 1 + docs/framework/wcf/samples/extending-tracing.md | 4 ++-- docs/framework/wcf/samples/security-validation.md | 5 +++-- docs/framework/wcf/samples/sessions-and-queues.md | 2 +- .../wcf/samples/stand-alone-diagnostics-feed-sample.md | 2 +- docs/framework/wcf/samples/transport-udp.md | 6 +++--- docs/framework/wcf/samples/unwrapped-messages.md | 1 - docs/framework/wcf/samples/user-name-password-validator.md | 1 + docs/framework/wcf/samples/ws-dual-http.md | 3 +-- docs/framework/wcf/samples/x-509-certificate-validator.md | 1 + 13 files changed, 17 insertions(+), 16 deletions(-) diff --git a/docs/framework/wcf/samples/custom-service-host.md b/docs/framework/wcf/samples/custom-service-host.md index 27ad860bd36e1..1c107de90e6a6 100644 --- a/docs/framework/wcf/samples/custom-service-host.md +++ b/docs/framework/wcf/samples/custom-service-host.md @@ -140,7 +140,7 @@ public class SelfDescribingServiceHostFactory : ServiceHostFactory To use a custom factory with a service implementation, we must add some additional metadata to the service’s .svc file. ```xml -<%@ServiceHost Service="Microsoft.ServiceModel.Samples.CalculatorService" +<% @ServiceHost Service="Microsoft.ServiceModel.Samples.CalculatorService" Factory="Microsoft.ServiceModel.Samples.SelfDescribingServiceHostFactory" language=c# Debug="true" %> ``` diff --git a/docs/framework/wcf/samples/discovery-security-sample.md b/docs/framework/wcf/samples/discovery-security-sample.md index 5ffe7047d5347..d50d67b6b2f4d 100644 --- a/docs/framework/wcf/samples/discovery-security-sample.md +++ b/docs/framework/wcf/samples/discovery-security-sample.md @@ -18,7 +18,7 @@ The Discovery specification does not require that endpoints that participate in The secure channel factory creates output or duplex channels that add a compact signature to message headers. To keep messages as small as possible the compact signature format is used. The structure of a compact signature is shown in the following example. ```xml - + [ + address="http://service_machine_name/servicemodelsamples/service.svc" /> ... diff --git a/docs/framework/wcf/samples/durable-instance-context.md b/docs/framework/wcf/samples/durable-instance-context.md index e6ecf24f35561..5fdb00d61ce37 100644 --- a/docs/framework/wcf/samples/durable-instance-context.md +++ b/docs/framework/wcf/samples/durable-instance-context.md @@ -395,6 +395,7 @@ Client applications must add the DurableInstanceContextChannel into the channel type="Microsoft.ServiceModel.Samples.DurableInstanceContextBindingElementSection, DurableInstanceContextExtension, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/> + ``` Now the binding element can be used with a custom binding just like other standard binding elements: diff --git a/docs/framework/wcf/samples/extending-tracing.md b/docs/framework/wcf/samples/extending-tracing.md index d7e0b4904c3e3..50b138e9ebb24 100644 --- a/docs/framework/wcf/samples/extending-tracing.md +++ b/docs/framework/wcf/samples/extending-tracing.md @@ -57,8 +57,8 @@ This sample demonstrates how to extend the Windows Communication Foundation (WCF -.... -.... + +.... ``` ### Correlating Activities diff --git a/docs/framework/wcf/samples/security-validation.md b/docs/framework/wcf/samples/security-validation.md index cae7f703f8257..c78a8ecd43693 100644 --- a/docs/framework/wcf/samples/security-validation.md +++ b/docs/framework/wcf/samples/security-validation.md @@ -49,8 +49,9 @@ public void Validate(ServiceDescription serviceDescription, - -... + + ... + ``` Once the behavior extension is added to the service, it is now possible to add the `endpointValidate` behavior to the list of behaviors in the Web.config file and thus, to the service. diff --git a/docs/framework/wcf/samples/sessions-and-queues.md b/docs/framework/wcf/samples/sessions-and-queues.md index 330524755c857..f85d66e3cf7b6 100644 --- a/docs/framework/wcf/samples/sessions-and-queues.md +++ b/docs/framework/wcf/samples/sessions-and-queues.md @@ -129,7 +129,7 @@ public static void Main() ... - + ``` The client creates a transaction scope. All messages in the session are sent to the queue within the transaction scope, causing it to be treated as an atomic unit where all messages succeed or fail. The transaction is committed by calling . diff --git a/docs/framework/wcf/samples/stand-alone-diagnostics-feed-sample.md b/docs/framework/wcf/samples/stand-alone-diagnostics-feed-sample.md index b279e2304cd57..780d741a8872e 100644 --- a/docs/framework/wcf/samples/stand-alone-diagnostics-feed-sample.md +++ b/docs/framework/wcf/samples/stand-alone-diagnostics-feed-sample.md @@ -40,7 +40,7 @@ WebServiceHost host = new WebServiceHost(typeof(ProcessService), new Uri("http:/ Alternatively, you can use from within an IIS-hosted .svc file to provide equivalent functionality (this technique is not demonstrated in this sample code). ```xml -<%@ ServiceHost Language="C#|VB" Debug="true" Service="ProcessService" %> +<% @ServiceHost Language="C#|VB" Debug="true" Service="ProcessService" %> ``` Because this service receives requests using the standard HTTP GET, you can use any RSS or ATOM-aware client to access the service. For example, you can view the output of this service by navigating to `http://localhost:8000/diagnostics/feed/?format=atom` or `http://localhost:8000/diagnostics/feed/?format=rss` in an RSS-aware browser. diff --git a/docs/framework/wcf/samples/transport-udp.md b/docs/framework/wcf/samples/transport-udp.md index f88251d762a94..e179991fe8992 100644 --- a/docs/framework/wcf/samples/transport-udp.md +++ b/docs/framework/wcf/samples/transport-udp.md @@ -168,7 +168,7 @@ if (soapBinding != null) - + @@ -307,7 +307,7 @@ if (context.Endpoint.Binding is CustomBinding) - @@ -363,7 +363,7 @@ protected override void OnApplyConfiguration(string configurationName) -
diff --git a/docs/framework/wcf/samples/unwrapped-messages.md b/docs/framework/wcf/samples/unwrapped-messages.md index fc686f2133eeb..0c617f440bdd1 100644 --- a/docs/framework/wcf/samples/unwrapped-messages.md +++ b/docs/framework/wcf/samples/unwrapped-messages.md @@ -36,7 +36,6 @@ This sample demonstrates unwrapped messages. By default, the message body is for 15.99 - ``` The unwrapped message does not wrap the `n1` and `n2` parameters in a containing element, they are direct children of the soap body element. diff --git a/docs/framework/wcf/samples/user-name-password-validator.md b/docs/framework/wcf/samples/user-name-password-validator.md index c70ef89398045..9f32c48a4702b 100644 --- a/docs/framework/wcf/samples/user-name-password-validator.md +++ b/docs/framework/wcf/samples/user-name-password-validator.md @@ -236,6 +236,7 @@ serviceHost.Credentials. UserNameAuthentication.CustomUserNamePasswordValidator --> ... + diff --git a/docs/framework/wcf/samples/ws-dual-http.md b/docs/framework/wcf/samples/ws-dual-http.md index 0db2daea0f898..114a0afd5c6c3 100644 --- a/docs/framework/wcf/samples/ws-dual-http.md +++ b/docs/framework/wcf/samples/ws-dual-http.md @@ -90,8 +90,7 @@ When you run the sample, you see the messages returned to the client on the call address= "http://service_machine_name/servicemodelsamples/service.svc" /> - - ... + diff --git a/docs/framework/wcf/samples/x-509-certificate-validator.md b/docs/framework/wcf/samples/x-509-certificate-validator.md index 1e9dffd6345b1..2f21d870dff1c 100644 --- a/docs/framework/wcf/samples/x-509-certificate-validator.md +++ b/docs/framework/wcf/samples/x-509-certificate-validator.md @@ -236,6 +236,7 @@ serviceHost.Credentials.ClientCertificate.Authentication.CustomCertificateValida customCertificateValidatorType = "Microsoft.ServiceModel.Samples. CustomX509CertificateValidator, service" /> + ... From 1874444918d163de59cce1cd8a54ba339ef1185c Mon Sep 17 00:00:00 2001 From: geotan Date: Mon, 20 Apr 2020 21:59:26 +0200 Subject: [PATCH 02/29] trailing spaces --- docs/framework/wcf/samples/ws-dual-http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wcf/samples/ws-dual-http.md b/docs/framework/wcf/samples/ws-dual-http.md index 114a0afd5c6c3..d4e78a0cb8e06 100644 --- a/docs/framework/wcf/samples/ws-dual-http.md +++ b/docs/framework/wcf/samples/ws-dual-http.md @@ -90,7 +90,7 @@ When you run the sample, you see the messages returned to the client on the call address= "http://service_machine_name/servicemodelsamples/service.svc" /> - + From a9238ab57309cc385cfe1c86d5b40da60f90ec95 Mon Sep 17 00:00:00 2001 From: geotan Date: Mon, 20 Apr 2020 22:02:44 +0200 Subject: [PATCH 03/29] trailing spaces catch me once again --- docs/framework/wcf/samples/ws-dual-http.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wcf/samples/ws-dual-http.md b/docs/framework/wcf/samples/ws-dual-http.md index d4e78a0cb8e06..3439ce9d430aa 100644 --- a/docs/framework/wcf/samples/ws-dual-http.md +++ b/docs/framework/wcf/samples/ws-dual-http.md @@ -90,7 +90,7 @@ When you run the sample, you see the messages returned to the client on the call address= "http://service_machine_name/servicemodelsamples/service.svc" /> - + From 088742128b9e70e1d6d5217f245acf9f9fd20df7 Mon Sep 17 00:00:00 2001 From: geotan Date: Tue, 21 Apr 2020 20:46:53 +0200 Subject: [PATCH 04/29] wpf part 1 --- .../colorconvertedbitmap-markup-extension.md | 2 +- .../componentresourcekey-markup-extension.md | 8 +++---- .../dynamicresource-markup-extension.md | 6 ++--- .../packaging-fonts-with-applications.md | 2 +- .../wpf/advanced/propertypath-xaml-syntax.md | 24 +++++++++---------- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md b/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md index fc61edae2cc6f..cde2522921403 100644 --- a/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md +++ b/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md @@ -12,7 +12,7 @@ Provides a way to specify a bitmap source that does not have an embedded profile ## XAML Attribute Usage ```xml - + ``` ## XAML Values diff --git a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md index b7e25c5723c2f..ecf359b7af47d 100644 --- a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md +++ b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md @@ -15,25 +15,25 @@ Defines and references keys for resources that are loaded from external assembli ## XAML Attribute Usage (setting key, compact) ```xml - + ``` ## XAML Attribute Usage (setting key, verbose) ```xml - + ``` ## XAML Attribute Usage (requesting resource, compact) ```xml - + ``` ## XAML Attribute Usage (requesting resource, verbose) ```xml - + ``` ## XAML Values diff --git a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md index 1b7c3df4b0fcc..b444fec3bc1f4 100644 --- a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md +++ b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md @@ -15,7 +15,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ## XAML Attribute Usage ```xml - + ``` ## XAML Property Element Usage @@ -23,7 +23,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ```xml - + ``` @@ -57,7 +57,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp `DynamicResource` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `DynamicResource` has only one settable property, which is required, this verbose usage is not typical. diff --git a/docs/framework/wpf/advanced/packaging-fonts-with-applications.md b/docs/framework/wpf/advanced/packaging-fonts-with-applications.md index 084d98d2abd8f..e4970aa5023e6 100644 --- a/docs/framework/wpf/advanced/packaging-fonts-with-applications.md +++ b/docs/framework/wpf/advanced/packaging-fonts-with-applications.md @@ -133,7 +133,7 @@ This topic provides an overview of how to package fonts with your [!INCLUDE[TLA# library ... -... + diff --git a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md index 8d221d603d031..43ca4534df271 100644 --- a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md +++ b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md @@ -35,7 +35,7 @@ A key to understanding property paths in data binding is that you can target the ### Single Property on the Immediate Object as Data Context ```xml - + ``` *propertyName* must resolve to be the name of a property that is in the current for a usage. If your binding updates the source, that property must be read/write and the source object must be mutable. @@ -45,7 +45,7 @@ A key to understanding property paths in data binding is that you can target the ### Single Indexer on the Immediate Object as Data Context ```xml - + ``` `key` must be either the typed index to a dictionary or hash table, or the integer index of an array. Also, the value of the key must be a type that is directly bindable to the property where it is applied. For instance, a hash table that contains string keys and string values can be used this way to bind to Text for a . Or, if the key points to a collection or subindex, you could use this syntax to bind to a target collection property. Otherwise, you need to reference a specific property, through a syntax such as ``. @@ -57,7 +57,7 @@ You can specify the type of the index if necessary. For details on this aspect o ### Multiple Property (Indirect Property Targeting) ```xml - + ``` `propertyName` must resolve to be the name of a property that is the current . The path properties `propertyName` and `propertyName2` can be any properties that exist in a relationship, where `propertyName2` is a property that exists on the type that is the value of `propertyName`. @@ -67,7 +67,7 @@ You can specify the type of the index if necessary. For details on this aspect o ### Single Property, Attached or Otherwise Type-Qualified ```xml - + ``` The parentheses indicate that this property in a should be constructed using a partial qualification. It can use an XML namespace to find the type with an appropriate mapping. The `ownerType` searches types that a [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharptla-xaml-md.md)] processor has access to, through the declarations in each assembly. Most applications have the default XML namespace mapped to the `http://schemas.microsoft.com/winfx/2006/xaml/presentation` namespace, so a prefix is usually only necessary for custom types or types otherwise outside that namespace. `propertyName` must resolve to be the name of a property existing on the `ownerType`. This syntax is generally used for one of the following cases: @@ -85,7 +85,7 @@ For use as storyboard target, the property specified as `propertyName` must be a ### Source Traversal (Binding to Hierarchies of Collections) ```xml - + ``` The / in this syntax is used to navigate within a hierarchical data source object, and multiple steps into the hierarchy with successive / characters are supported. The source traversal accounts for the current record pointer position, which is determined by synchronizing the data with the UI of its view. For details on binding with hierarchical data source objects, and the concept of current record pointer in data binding, see [Use the Master-Detail Pattern with Hierarchical Data](../data/how-to-use-the-master-detail-pattern-with-hierarchical-data.md) or [Data Binding Overview](../../../desktop-wpf/data/data-binding-overview.md). @@ -104,13 +104,13 @@ To reference the current record pointer for a collection view or master detail d ### Multiple Indexers ```xaml - + ``` or ```xaml - + ``` If a given object supports multiple indexers, those indexers can be specified in order, similar to an array referencing syntax. The object in question can be either the current context or the value of a property that contains a multiple index object. @@ -124,7 +124,7 @@ By default, the indexer values are typed by using the characteristics of the und Each of the syntaxes shown above can be interspersed. For instance, the following is an example that creates a property path to the color at a particular x,y of a `ColorGrid` property that contains a pixel grid array of objects: ```xml - + ``` ### Escapes for Property Path Strings @@ -169,7 +169,7 @@ In order to support cloning for animating a that ### Single Property on the Target Object ```xml - + ``` `propertyName` must resolve to be the name of a dependency property that exists on the specified type. @@ -179,7 +179,7 @@ In order to support cloning for animating a that ### Indirect Property Targeting ```xml - + ``` `propertyName` must be a property that is either a value type or a primitive, which exists on the specified type. @@ -195,7 +195,7 @@ For instance, the property of ### Attached Properties ```xml - + ``` The parentheses indicate that this property in a should be constructed using a partial qualification. It can use an XML namespace to find the type. The `ownerType` searches types that a [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharptla-xaml-md.md)] processor has access to, through the declarations in each assembly. Most applications have the default XML namespace mapped to the `http://schemas.microsoft.com/winfx/2006/xaml/presentation` namespace, so a prefix is usually only necessary for custom types or types otherwise outside that namespace. `propertyName` must resolve to be the name of a property existing on the `ownerType`. The property specified as `propertyName` must be a . (All [!INCLUDE[TLA2#tla_winclient](../../../../includes/tla2sharptla-winclient-md.md)] attached properties are implemented as dependency properties, so this issue is only of concern for custom attached properties.) @@ -205,7 +205,7 @@ The parentheses indicate that this property in a + ``` Most dependency properties or types do not support an indexer. Therefore, the only usage for an indexer in an animation path is at an intermediate position between the property that starts the chain on the named target and the eventual animated property. In the provided syntax, that is `propertyName2`. For instance, an indexer usage might be necessary if the intermediate property is a collection such as , in a property path such as `RenderTransform.Children[1].Angle`. From 17a15313465a05d38d455857e1db816f44ecf806 Mon Sep 17 00:00:00 2001 From: geotan Date: Tue, 21 Apr 2020 21:18:22 +0200 Subject: [PATCH 05/29] wpf part 2 --- .../wpf/advanced/relativesource-markupextension.md | 5 +++-- .../wpf/advanced/staticresource-markup-extension.md | 6 +++--- .../wpf/advanced/templatebinding-markup-extension.md | 6 +++--- .../wpf/advanced/themedictionary-markup-extension.md | 4 ++-- .../wpf-application-resource-content-and-data-files.md | 8 ++++---- .../framework/wpf/app-development/wpf-windows-overview.md | 3 +-- 6 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/framework/wpf/advanced/relativesource-markupextension.md b/docs/framework/wpf/advanced/relativesource-markupextension.md index 44cd8aea1f88b..209b4c27b9a01 100644 --- a/docs/framework/wpf/advanced/relativesource-markupextension.md +++ b/docs/framework/wpf/advanced/relativesource-markupextension.md @@ -16,13 +16,13 @@ Specifies properties of a binding sour ## XAML Attribute Usage ```xml - + ``` ## XAML Attribute Usage (nested within Binding extension) ```xml - + ``` ## XAML Object Element Usage @@ -96,6 +96,7 @@ In the following example, the first in + ``` Describing data binding as a concept is not covered here, see [Data Binding Overview](../../../desktop-wpf/data/data-binding-overview.md). diff --git a/docs/framework/wpf/advanced/staticresource-markup-extension.md b/docs/framework/wpf/advanced/staticresource-markup-extension.md index deaf69d16f381..27c44568edaba 100644 --- a/docs/framework/wpf/advanced/staticresource-markup-extension.md +++ b/docs/framework/wpf/advanced/staticresource-markup-extension.md @@ -15,7 +15,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ## XAML Attribute Usage ```xml - + ``` ## XAML Object Element Usage @@ -23,7 +23,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ```xml - + ``` @@ -52,7 +52,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp `StaticResource` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `StaticResource` has only one settable property, which is required, this verbose usage is not typical. diff --git a/docs/framework/wpf/advanced/templatebinding-markup-extension.md b/docs/framework/wpf/advanced/templatebinding-markup-extension.md index 34ae9fa053dec..392f86a79ce0a 100644 --- a/docs/framework/wpf/advanced/templatebinding-markup-extension.md +++ b/docs/framework/wpf/advanced/templatebinding-markup-extension.md @@ -15,13 +15,13 @@ Links the value of a property in a control template to be the value of another p ## XAML Attribute Usage ```xml - + ``` ## XAML Attribute Usage (for Setter property in template or style) ```xml - + ``` ## XAML Values @@ -46,7 +46,7 @@ Links the value of a property in a control template to be the value of another p `TemplateBinding` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `TemplateBinding` has only one settable property, which is required, this verbose usage is not typical. diff --git a/docs/framework/wpf/advanced/themedictionary-markup-extension.md b/docs/framework/wpf/advanced/themedictionary-markup-extension.md index 4630ce69a5341..111567f0d7230 100644 --- a/docs/framework/wpf/advanced/themedictionary-markup-extension.md +++ b/docs/framework/wpf/advanced/themedictionary-markup-extension.md @@ -15,7 +15,7 @@ Provides a way for custom control authors or applications that integrate third-p ## XAML Attribute Usage ```xml - + ``` ## XAML Object Element Usage @@ -48,7 +48,7 @@ Provides a way for custom control authors or applications that integrate third-p `ThemeDictionary` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `ThemeDictionary` has only one settable property, which is required, this verbose usage is not typical. diff --git a/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md b/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md index c8c27f2f63872..81e24aa7ec424 100644 --- a/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md +++ b/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md @@ -52,7 +52,7 @@ Microsoft Windows applications often depend on files that contain non-executable In WPF, a resource file is a file that is included in an Microsoft build engine (MSBuild) project as a `Resource` item. ```xml - + ... @@ -93,7 +93,7 @@ Microsoft Windows applications often depend on files that contain non-executable You can do this when a XAML file is included in an MSBuild project as a `Page` item. ```xml - + ... @@ -122,7 +122,7 @@ Microsoft Windows applications often depend on files that contain non-executable The following shows a file that is configured as a content file which is copied to the build output folder only when a new version of the resource is added to the project. ```xml - + ... @@ -194,7 +194,7 @@ Microsoft Windows applications often depend on files that contain non-executable If you do know at compile time the files that you would like to be located at the site of origin, but still want to avoid an explicit dependency, you can add those files to an MSBuild project as `None` item. As with content files, you need to set the MSBuild `CopyToOutputDirectory` attribute to specify that the site of origin file is copied to a location that is relative to the built assembly, by specifying either the `Always` value or the `PreserveNewest` value. ```xml - + ... Always diff --git a/docs/framework/wpf/app-development/wpf-windows-overview.md b/docs/framework/wpf/app-development/wpf-windows-overview.md index cbeb4bcb4b550..66532df6c11ae 100644 --- a/docs/framework/wpf/app-development/wpf-windows-overview.md +++ b/docs/framework/wpf/app-development/wpf-windows-overview.md @@ -109,8 +109,7 @@ Users interact with Windows Presentation Foundation (WPF) standalone application This is shown in the following MSBuild project file. ```xml - + ... From 8fd4bb0c517d0fc3973f97f15529cceb60747642 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 16:44:54 +0200 Subject: [PATCH 06/29] Update docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md Co-Authored-By: Genevieve Warren --- .../wpf/advanced/colorconvertedbitmap-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md b/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md index cde2522921403..95b42f550be6b 100644 --- a/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md +++ b/docs/framework/wpf/advanced/colorconvertedbitmap-markup-extension.md @@ -12,7 +12,7 @@ Provides a way to specify a bitmap source that does not have an embedded profile ## XAML Attribute Usage ```xml - + ``` ## XAML Values From 44ebe5a39f3a133ac8591b1f7526ad514bf583ee Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 16:45:08 +0200 Subject: [PATCH 07/29] Update docs/framework/wpf/advanced/componentresourcekey-markup-extension.md Co-Authored-By: Genevieve Warren --- .../wpf/advanced/componentresourcekey-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md index ecf359b7af47d..56b535c9795d1 100644 --- a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md +++ b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md @@ -15,7 +15,7 @@ Defines and references keys for resources that are loaded from external assembli ## XAML Attribute Usage (setting key, compact) ```xml - + ``` ## XAML Attribute Usage (setting key, verbose) From 430c5e45e30aa5d19916517d49581a553969a900 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:09:05 +0200 Subject: [PATCH 08/29] Undo changes with ... --- docs/framework/wcf/samples/discovery-security-sample.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/wcf/samples/discovery-security-sample.md b/docs/framework/wcf/samples/discovery-security-sample.md index d50d67b6b2f4d..74c7dbb78bb1f 100644 --- a/docs/framework/wcf/samples/discovery-security-sample.md +++ b/docs/framework/wcf/samples/discovery-security-sample.md @@ -18,7 +18,7 @@ The Discovery specification does not require that endpoints that participate in The secure channel factory creates output or duplex channels that add a compact signature to message headers. To keep messages as small as possible the compact signature format is used. The structure of a compact signature is shown in the following example. ```xml - + [ and with the added discovery secure binding element. These secure endpoints can be used in discovery announcement listeners and discoverable services. ## Sample Details - The sample includes a library and 4 console applications: + The sample includes a library and 4 console applications: - **DiscoverySecurityChannels**: A library that exposes the secure binding. The library computes and verifies the compact signature for outgoing/incoming messages. From 777079d61fb5e3e25efb0d5b0ff878cd397ea923 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:10:17 +0200 Subject: [PATCH 09/29] Update docs/framework/wpf/advanced/relativesource-markupextension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/relativesource-markupextension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/relativesource-markupextension.md b/docs/framework/wpf/advanced/relativesource-markupextension.md index 209b4c27b9a01..f217a39cd59a0 100644 --- a/docs/framework/wpf/advanced/relativesource-markupextension.md +++ b/docs/framework/wpf/advanced/relativesource-markupextension.md @@ -22,7 +22,7 @@ Specifies properties of a binding sour ## XAML Attribute Usage (nested within Binding extension) ```xml - + ``` ## XAML Object Element Usage From aa3c70509fbd0c044350bb632cd3d610bb88354a Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:10:27 +0200 Subject: [PATCH 10/29] Update docs/framework/wpf/advanced/relativesource-markupextension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/relativesource-markupextension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/relativesource-markupextension.md b/docs/framework/wpf/advanced/relativesource-markupextension.md index f217a39cd59a0..4f18eeef90fe4 100644 --- a/docs/framework/wpf/advanced/relativesource-markupextension.md +++ b/docs/framework/wpf/advanced/relativesource-markupextension.md @@ -16,7 +16,7 @@ Specifies properties of a binding sour ## XAML Attribute Usage ```xml - + ``` ## XAML Attribute Usage (nested within Binding extension) From 0632ca9c92f239b4818e297c23953893c5a7642a Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:12:39 +0200 Subject: [PATCH 11/29] Undo changes with ... --- docs/framework/wcf/samples/duplex.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/framework/wcf/samples/duplex.md b/docs/framework/wcf/samples/duplex.md index 6c259bedd0844..ad3fb24333aaf 100644 --- a/docs/framework/wcf/samples/duplex.md +++ b/docs/framework/wcf/samples/duplex.md @@ -170,7 +170,8 @@ When you run the sample, you see the messages that are returned to the client on ```xml + address="http://service_machine_name/servicemodelsamples/service.svc" + ... /> ... From 6f144348d3e83f54e150ceaa6835ac6f876d9474 Mon Sep 17 00:00:00 2001 From: geotan Date: Thu, 23 Apr 2020 21:19:33 +0200 Subject: [PATCH 12/29] trailing spaces --- docs/framework/wcf/samples/discovery-security-sample.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wcf/samples/discovery-security-sample.md b/docs/framework/wcf/samples/discovery-security-sample.md index 74c7dbb78bb1f..e5ff72b133386 100644 --- a/docs/framework/wcf/samples/discovery-security-sample.md +++ b/docs/framework/wcf/samples/discovery-security-sample.md @@ -40,7 +40,7 @@ The Discovery specification does not require that endpoints that participate in The secure channel listener creates input or duplex channels that verify the compact signature in received messages. To verify the signature, the `KeyId` specified in the compact signature attached to the message is used to select a certificate from the specified store. If the message does not have a signature or the signature check fails, the messages are dropped. To use the secure binding, the sample defines a factory that creates custom and with the added discovery secure binding element. These secure endpoints can be used in discovery announcement listeners and discoverable services. ## Sample Details - The sample includes a library and 4 console applications: + The sample includes a library and 4 console applications: - **DiscoverySecurityChannels**: A library that exposes the secure binding. The library computes and verifies the compact signature for outgoing/incoming messages. From d90175b9a42044670617364f316d1efcc99797e6 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:24:20 +0200 Subject: [PATCH 13/29] Update docs/framework/wpf/advanced/themedictionary-markup-extension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/themedictionary-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/themedictionary-markup-extension.md b/docs/framework/wpf/advanced/themedictionary-markup-extension.md index 111567f0d7230..a3aab3abf61bc 100644 --- a/docs/framework/wpf/advanced/themedictionary-markup-extension.md +++ b/docs/framework/wpf/advanced/themedictionary-markup-extension.md @@ -15,7 +15,7 @@ Provides a way for custom control authors or applications that integrate third-p ## XAML Attribute Usage ```xml - + ``` ## XAML Object Element Usage From 93cbd3fee894a6a3c452c5fbe81ce41dcad8f907 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:24:40 +0200 Subject: [PATCH 14/29] Update docs/framework/wpf/advanced/dynamicresource-markup-extension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/dynamicresource-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md index b444fec3bc1f4..b18acb7f0d2f9 100644 --- a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md +++ b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md @@ -15,7 +15,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ## XAML Attribute Usage ```xml - + ``` ## XAML Property Element Usage From 5344265b784c468b40ecde62f1e49c27e4980905 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:25:16 +0200 Subject: [PATCH 15/29] Update docs/framework/wpf/advanced/dynamicresource-markup-extension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/dynamicresource-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md index b18acb7f0d2f9..db98e6614aa73 100644 --- a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md +++ b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md @@ -23,7 +23,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ```xml - + ``` From d309a3d1fb5677736f8d486f8f17eb34807230d6 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:25:35 +0200 Subject: [PATCH 16/29] Update docs/framework/wpf/advanced/dynamicresource-markup-extension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/dynamicresource-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md index db98e6614aa73..f5fa050582e31 100644 --- a/docs/framework/wpf/advanced/dynamicresource-markup-extension.md +++ b/docs/framework/wpf/advanced/dynamicresource-markup-extension.md @@ -57,7 +57,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp `DynamicResource` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `DynamicResource` has only one settable property, which is required, this verbose usage is not typical. From f33766bd67d176ceb1ccc0aa332bd9c92b11bc05 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 21:26:09 +0200 Subject: [PATCH 17/29] Update docs/framework/wpf/advanced/propertypath-xaml-syntax.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/propertypath-xaml-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md index 43ca4534df271..16247d5b8546d 100644 --- a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md +++ b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md @@ -35,7 +35,7 @@ A key to understanding property paths in data binding is that you can target the ### Single Property on the Immediate Object as Data Context ```xml - + ``` *propertyName* must resolve to be the name of a property that is in the current for a usage. If your binding updates the source, that property must be read/write and the source object must be mutable. From 807a91d6eb26c513e4f83c50f6dae49b1a5cc4b3 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 22:02:24 +0200 Subject: [PATCH 18/29] Undo changes with ... --- docs/framework/wcf/samples/ws-dual-http.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/framework/wcf/samples/ws-dual-http.md b/docs/framework/wcf/samples/ws-dual-http.md index 3439ce9d430aa..0db2daea0f898 100644 --- a/docs/framework/wcf/samples/ws-dual-http.md +++ b/docs/framework/wcf/samples/ws-dual-http.md @@ -91,6 +91,7 @@ When you run the sample, you see the messages returned to the client on the call "http://service_machine_name/servicemodelsamples/service.svc" /> + ... From 5a1eb293baddec21aabd09f8cae0c6ddfeb9c079 Mon Sep 17 00:00:00 2001 From: geotan Date: Thu, 23 Apr 2020 22:05:24 +0200 Subject: [PATCH 19/29] undo changes with ... --- .../wpf/advanced/templatebinding-markup-extension.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/wpf/advanced/templatebinding-markup-extension.md b/docs/framework/wpf/advanced/templatebinding-markup-extension.md index 392f86a79ce0a..10b8a7dbf09a9 100644 --- a/docs/framework/wpf/advanced/templatebinding-markup-extension.md +++ b/docs/framework/wpf/advanced/templatebinding-markup-extension.md @@ -15,7 +15,7 @@ Links the value of a property in a control template to be the value of another p ## XAML Attribute Usage ```xml - + ``` ## XAML Attribute Usage (for Setter property in template or style) @@ -46,7 +46,7 @@ Links the value of a property in a control template to be the value of another p `TemplateBinding` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `TemplateBinding` has only one settable property, which is required, this verbose usage is not typical. From 958364ba3b2fbb83eef5c48ebf23f42b8045d733 Mon Sep 17 00:00:00 2001 From: Tanya Georgieva <47246263+cloudn9@users.noreply.github.com> Date: Thu, 23 Apr 2020 22:06:29 +0200 Subject: [PATCH 20/29] Update docs/framework/wpf/advanced/staticresource-markup-extension.md Co-Authored-By: Genevieve Warren --- docs/framework/wpf/advanced/staticresource-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/staticresource-markup-extension.md b/docs/framework/wpf/advanced/staticresource-markup-extension.md index 27c44568edaba..a9438a7ff8763 100644 --- a/docs/framework/wpf/advanced/staticresource-markup-extension.md +++ b/docs/framework/wpf/advanced/staticresource-markup-extension.md @@ -15,7 +15,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ## XAML Attribute Usage ```xml - + ``` ## XAML Object Element Usage From a4743368c7a0d80d00551a40a5a9e21b0eeec3c3 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:28:36 -0700 Subject: [PATCH 21/29] Update componentresourcekey-markup-extension.md --- .../wpf/advanced/componentresourcekey-markup-extension.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md index 56b535c9795d1..8f65ebf28b74e 100644 --- a/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md +++ b/docs/framework/wpf/advanced/componentresourcekey-markup-extension.md @@ -21,19 +21,19 @@ Defines and references keys for resources that are loaded from external assembli ## XAML Attribute Usage (setting key, verbose) ```xml - + ``` ## XAML Attribute Usage (requesting resource, compact) ```xml - + ``` ## XAML Attribute Usage (requesting resource, verbose) ```xml - + ``` ## XAML Values From 90406292e1e7cfe5c350285f5567eee2191d47fd Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:29:51 -0700 Subject: [PATCH 22/29] Update packaging-fonts-with-applications.md --- .../framework/wpf/advanced/packaging-fonts-with-applications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/packaging-fonts-with-applications.md b/docs/framework/wpf/advanced/packaging-fonts-with-applications.md index e4970aa5023e6..5e030819ec4a7 100644 --- a/docs/framework/wpf/advanced/packaging-fonts-with-applications.md +++ b/docs/framework/wpf/advanced/packaging-fonts-with-applications.md @@ -133,7 +133,7 @@ This topic provides an overview of how to package fonts with your [!INCLUDE[TLA# library ... - +... From 40bbeafdac60f99074e9431b952b1541eba83064 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:31:50 -0700 Subject: [PATCH 23/29] Update propertypath-xaml-syntax.md --- .../wpf/advanced/propertypath-xaml-syntax.md | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md index 16247d5b8546d..44612d861722a 100644 --- a/docs/framework/wpf/advanced/propertypath-xaml-syntax.md +++ b/docs/framework/wpf/advanced/propertypath-xaml-syntax.md @@ -45,7 +45,7 @@ A key to understanding property paths in data binding is that you can target the ### Single Indexer on the Immediate Object as Data Context ```xml - + ``` `key` must be either the typed index to a dictionary or hash table, or the integer index of an array. Also, the value of the key must be a type that is directly bindable to the property where it is applied. For instance, a hash table that contains string keys and string values can be used this way to bind to Text for a . Or, if the key points to a collection or subindex, you could use this syntax to bind to a target collection property. Otherwise, you need to reference a specific property, through a syntax such as ``. @@ -57,7 +57,7 @@ You can specify the type of the index if necessary. For details on this aspect o ### Multiple Property (Indirect Property Targeting) ```xml - + ``` `propertyName` must resolve to be the name of a property that is the current . The path properties `propertyName` and `propertyName2` can be any properties that exist in a relationship, where `propertyName2` is a property that exists on the type that is the value of `propertyName`. @@ -67,7 +67,7 @@ You can specify the type of the index if necessary. For details on this aspect o ### Single Property, Attached or Otherwise Type-Qualified ```xml - + ``` The parentheses indicate that this property in a should be constructed using a partial qualification. It can use an XML namespace to find the type with an appropriate mapping. The `ownerType` searches types that a [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharptla-xaml-md.md)] processor has access to, through the declarations in each assembly. Most applications have the default XML namespace mapped to the `http://schemas.microsoft.com/winfx/2006/xaml/presentation` namespace, so a prefix is usually only necessary for custom types or types otherwise outside that namespace. `propertyName` must resolve to be the name of a property existing on the `ownerType`. This syntax is generally used for one of the following cases: @@ -85,7 +85,7 @@ For use as storyboard target, the property specified as `propertyName` must be a ### Source Traversal (Binding to Hierarchies of Collections) ```xml - + ``` The / in this syntax is used to navigate within a hierarchical data source object, and multiple steps into the hierarchy with successive / characters are supported. The source traversal accounts for the current record pointer position, which is determined by synchronizing the data with the UI of its view. For details on binding with hierarchical data source objects, and the concept of current record pointer in data binding, see [Use the Master-Detail Pattern with Hierarchical Data](../data/how-to-use-the-master-detail-pattern-with-hierarchical-data.md) or [Data Binding Overview](../../../desktop-wpf/data/data-binding-overview.md). @@ -104,13 +104,13 @@ To reference the current record pointer for a collection view or master detail d ### Multiple Indexers ```xaml - + ``` or ```xaml - + ``` If a given object supports multiple indexers, those indexers can be specified in order, similar to an array referencing syntax. The object in question can be either the current context or the value of a property that contains a multiple index object. @@ -124,7 +124,7 @@ By default, the indexer values are typed by using the characteristics of the und Each of the syntaxes shown above can be interspersed. For instance, the following is an example that creates a property path to the color at a particular x,y of a `ColorGrid` property that contains a pixel grid array of objects: ```xml - + ``` ### Escapes for Property Path Strings @@ -169,7 +169,7 @@ In order to support cloning for animating a that ### Single Property on the Target Object ```xml - + ``` `propertyName` must resolve to be the name of a dependency property that exists on the specified type. @@ -179,7 +179,7 @@ In order to support cloning for animating a that ### Indirect Property Targeting ```xml - + ``` `propertyName` must be a property that is either a value type or a primitive, which exists on the specified type. @@ -195,7 +195,7 @@ For instance, the property of ### Attached Properties ```xml - + ``` The parentheses indicate that this property in a should be constructed using a partial qualification. It can use an XML namespace to find the type. The `ownerType` searches types that a [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharptla-xaml-md.md)] processor has access to, through the declarations in each assembly. Most applications have the default XML namespace mapped to the `http://schemas.microsoft.com/winfx/2006/xaml/presentation` namespace, so a prefix is usually only necessary for custom types or types otherwise outside that namespace. `propertyName` must resolve to be the name of a property existing on the `ownerType`. The property specified as `propertyName` must be a . (All [!INCLUDE[TLA2#tla_winclient](../../../../includes/tla2sharptla-winclient-md.md)] attached properties are implemented as dependency properties, so this issue is only of concern for custom attached properties.) @@ -205,7 +205,7 @@ The parentheses indicate that this property in a + ``` Most dependency properties or types do not support an indexer. Therefore, the only usage for an indexer in an animation path is at an intermediate position between the property that starts the chain on the named target and the eventual animated property. In the provided syntax, that is `propertyName2`. For instance, an indexer usage might be necessary if the intermediate property is a collection such as , in a property path such as `RenderTransform.Children[1].Angle`. From bb99cf203f8cb5d3271097e09933a23c30f6a497 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:33:28 -0700 Subject: [PATCH 24/29] Update staticresource-markup-extension.md --- .../framework/wpf/advanced/staticresource-markup-extension.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/wpf/advanced/staticresource-markup-extension.md b/docs/framework/wpf/advanced/staticresource-markup-extension.md index a9438a7ff8763..b14e22718f5b7 100644 --- a/docs/framework/wpf/advanced/staticresource-markup-extension.md +++ b/docs/framework/wpf/advanced/staticresource-markup-extension.md @@ -23,7 +23,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp ```xml - + ``` @@ -52,7 +52,7 @@ Provides a value for any [!INCLUDE[TLA2#tla_xaml](../../../../includes/tla2sharp `StaticResource` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `StaticResource` has only one settable property, which is required, this verbose usage is not typical. From 4da0ebaf8d5ec5bb089b7d4666f505a080c79a10 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:34:02 -0700 Subject: [PATCH 25/29] Update templatebinding-markup-extension.md --- .../wpf/advanced/templatebinding-markup-extension.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/framework/wpf/advanced/templatebinding-markup-extension.md b/docs/framework/wpf/advanced/templatebinding-markup-extension.md index 10b8a7dbf09a9..5857861d810e3 100644 --- a/docs/framework/wpf/advanced/templatebinding-markup-extension.md +++ b/docs/framework/wpf/advanced/templatebinding-markup-extension.md @@ -21,7 +21,7 @@ Links the value of a property in a control template to be the value of another p ## XAML Attribute Usage (for Setter property in template or style) ```xml - + ``` ## XAML Values @@ -46,7 +46,7 @@ Links the value of a property in a control template to be the value of another p `TemplateBinding` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `TemplateBinding` has only one settable property, which is required, this verbose usage is not typical. From 146525b48ca87c5a43ac732692f381abbaa75efd Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:34:31 -0700 Subject: [PATCH 26/29] Update templatebinding-markup-extension.md --- docs/framework/wpf/advanced/templatebinding-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/templatebinding-markup-extension.md b/docs/framework/wpf/advanced/templatebinding-markup-extension.md index 5857861d810e3..69d4d4f559c66 100644 --- a/docs/framework/wpf/advanced/templatebinding-markup-extension.md +++ b/docs/framework/wpf/advanced/templatebinding-markup-extension.md @@ -15,7 +15,7 @@ Links the value of a property in a control template to be the value of another p ## XAML Attribute Usage ```xml - + ``` ## XAML Attribute Usage (for Setter property in template or style) From 63cb59a9b566b4f646ce2245a5a01f096b815e43 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:34:55 -0700 Subject: [PATCH 27/29] Update themedictionary-markup-extension.md --- docs/framework/wpf/advanced/themedictionary-markup-extension.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/advanced/themedictionary-markup-extension.md b/docs/framework/wpf/advanced/themedictionary-markup-extension.md index a3aab3abf61bc..67ed290d07f06 100644 --- a/docs/framework/wpf/advanced/themedictionary-markup-extension.md +++ b/docs/framework/wpf/advanced/themedictionary-markup-extension.md @@ -48,7 +48,7 @@ Provides a way for custom control authors or applications that integrate third-p `ThemeDictionary` can also be used in a verbose attribute usage that specifies the property as a property=value pair: ```xml - + ``` The verbose usage is often useful for extensions that have more than one settable property, or if some properties are optional. Because `ThemeDictionary` has only one settable property, which is required, this verbose usage is not typical. From c2c1a1f10bf5b352e805effafc25e07df03f871f Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:35:56 -0700 Subject: [PATCH 28/29] Update wpf-windows-overview.md --- docs/framework/wpf/app-development/wpf-windows-overview.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/framework/wpf/app-development/wpf-windows-overview.md b/docs/framework/wpf/app-development/wpf-windows-overview.md index 66532df6c11ae..c0b83ad3ba5ef 100644 --- a/docs/framework/wpf/app-development/wpf-windows-overview.md +++ b/docs/framework/wpf/app-development/wpf-windows-overview.md @@ -109,7 +109,7 @@ Users interact with Windows Presentation Foundation (WPF) standalone application This is shown in the following MSBuild project file. ```xml - + ... From d566ca104745493e469043bad73c3409a8b412c7 Mon Sep 17 00:00:00 2001 From: Genevieve Warren Date: Fri, 24 Apr 2020 10:37:00 -0700 Subject: [PATCH 29/29] Update wpf-application-resource-content-and-data-files.md --- .../wpf-application-resource-content-and-data-files.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md b/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md index 81e24aa7ec424..c8c27f2f63872 100644 --- a/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md +++ b/docs/framework/wpf/app-development/wpf-application-resource-content-and-data-files.md @@ -52,7 +52,7 @@ Microsoft Windows applications often depend on files that contain non-executable In WPF, a resource file is a file that is included in an Microsoft build engine (MSBuild) project as a `Resource` item. ```xml - + ... @@ -93,7 +93,7 @@ Microsoft Windows applications often depend on files that contain non-executable You can do this when a XAML file is included in an MSBuild project as a `Page` item. ```xml - + ... @@ -122,7 +122,7 @@ Microsoft Windows applications often depend on files that contain non-executable The following shows a file that is configured as a content file which is copied to the build output folder only when a new version of the resource is added to the project. ```xml - + ... @@ -194,7 +194,7 @@ Microsoft Windows applications often depend on files that contain non-executable If you do know at compile time the files that you would like to be located at the site of origin, but still want to avoid an explicit dependency, you can add those files to an MSBuild project as `None` item. As with content files, you need to set the MSBuild `CopyToOutputDirectory` attribute to specify that the site of origin file is copied to a location that is relative to the built assembly, by specifying either the `Always` value or the `PreserveNewest` value. ```xml - + ... Always