Bewerken

Delen via


XamlSetValueEventArgs.Handled Property

Definition

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

public:
 property bool Handled { bool get(); void set(bool value); };
public bool Handled { get; set; }
member this.Handled : bool with get, set
Public Property Handled As Boolean

Property Value

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

Remarks

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.

Applies to