ClassRadElementPropertyMetadata
Provides metadata for RadElement properties, including layout and rendering behavior options.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class RadElementPropertyMetadata : RadPropertyMetadata
Inheritance: objectRadPropertyMetadataRadElementPropertyMetadata
Inherited Members
Constructors
RadElementPropertyMetadata()
Initializes a new instance of the RadElementPropertyMetadata class.
Declaration
public RadElementPropertyMetadata()
RadElementPropertyMetadata(object)
Initializes a new instance of the RadElementPropertyMetadata class with the specified default value.
Declaration
public RadElementPropertyMetadata(object defaultValue)
Parameters
defaultValue
The default value for the property.
RadElementPropertyMetadata(object, ElementPropertyOptions)
Initializes a new instance of the RadElementPropertyMetadata class with the specified default value and property options.
Declaration
public RadElementPropertyMetadata(object defaultValue, ElementPropertyOptions options)
Parameters
defaultValue
The default value for the property.
options
The element property options that control layout and rendering behavior.
RadElementPropertyMetadata(object, ElementPropertyOptions, PropertyChangedCallback)
Initializes a new instance of the RadElementPropertyMetadata class with the specified default value, property options, and property changed callback.
Declaration
public RadElementPropertyMetadata(object defaultValue, ElementPropertyOptions options, PropertyChangedCallback propertyChangedCallback)
Parameters
defaultValue
The default value for the property.
options
The element property options that control layout and rendering behavior.
propertyChangedCallback
The callback method to invoke when the property value changes.
Properties
AffectsArrange
Gets or sets a value indicating whether property changes affect the arrangement phase of layout for this element.
AffectsDisplay
Gets or sets a value indicating whether property changes affect the visual display of the element.
AffectsLayout
Gets or sets a value indicating whether property changes affect the layout of the element.
AffectsMeasure
Gets or sets a value indicating whether property changes affect the measurement phase of layout for this element.
AffectsParentArrange
Gets or sets a value indicating whether property changes affect the arrangement phase of the parent element.
AffectsParentMeasure
Gets or sets a value indicating whether property changes affect the measurement phase of the parent element.
CanInheritValue
Gets or sets a value indicating whether the property value can be inherited from parent elements in the element hierarchy.
Cancelable
Gets or sets a value indicating whether property changes can be canceled.
InvalidatesLayout
Gets or sets a value indicating whether property changes invalidate the layout of the element.
PropertyOptions
Gets the element property options that define how property changes affect layout and rendering.
Declaration
public ElementPropertyOptions PropertyOptions { get; }
Property Value
Methods
CreateInstance()
Creates a new instance of RadElementPropertyMetadata.
Declaration
protected override RadPropertyMetadata CreateInstance()
Returns
A new RadElementPropertyMetadata instance.
Overrides
Merge(RadPropertyMetadata, RadProperty)
Merges this metadata with base metadata when the property is defined in a derived class.
Declaration
protected override void Merge(RadPropertyMetadata baseMetadata, RadProperty dp)
Parameters
baseMetadata
The base metadata to merge with.
dp
The dependency property being merged.
Overrides
OnApply(RadProperty, Type)
Called when metadata is applied to a property, setting up inheritance behavior based on CanInheritValue.
Declaration
protected override void OnApply(RadProperty dp, Type targetType)
Parameters
dp
The dependency property this metadata is being applied to.
targetType
The target type for the property.
Overrides