XamlSetValueEventArgs.Handled Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets a value that determines whether a caller that is using the XamlSetValueEventArgs can use the values without having to call CallBase.

Namespace:   System.Windows.Markup
Assembly:  System.Xaml (in System.Xaml.dll)

public bool Handled { get; set; }

Property Value

Type: System.Boolean

true if the values were useful and calling CallBase is not necessary; otherwise, false.

Use this property as a sentinel for cases where a callback referenced as XamlSetMarkupExtensionHandler or XamlSetTypeConverterHandler has code pathways that has processed the set value attempt.

.NET Framework
Available since 4.0
Return to top