XamlObjectWriterSettings.SkipDuplicatePropertyCheck Property

Definition

Gets or sets a value that determines whether the XAML writer omits to check for the code path that checks for duplicate properties.

C#
public bool SkipDuplicatePropertyCheck { get; set; }

Property Value

true if the duplicate property check should be omitted; otherwise, false.

Remarks

The specified code path checks the currently assigned properties and throws an exception if a duplicate property set of the named ambient property is attempted. For more information, see IAmbientProvider.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10