RadPropertyMetadata
Supplies a dependency property's default value and optional change callback.
Definition
Namespace:Telerik.Windows.Base
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class RadPropertyMetadata
Inheritance: objectRadPropertyMetadata
Constructors
Initializes metadata with a default value and an optional change callback.
public RadPropertyMetadata(object defaultValue, RadPropertyChangedCallback propertyChangedCallback)
The value returned before an object assigns the property.
propertyChangedCallbackRadPropertyChangedCallbackThe callback invoked after the property is assigned, or null for no callback.
Initializes metadata with a default value and no change callback.
public RadPropertyMetadata(object defaultValue)
The value returned before an object assigns the property.
Initializes metadata with a change callback and a null default value.
public RadPropertyMetadata(RadPropertyChangedCallback propertyChangedCallback)
The callback invoked after the property is assigned, or null for no callback.
Properties
Gets the value returned until the property is explicitly assigned on an object.
public object DefaultValue { get; }