Class UIPropertyMetadata
Represents the metadata object for the IPropertyReference instances.
public class UIPropertyMetadata : PropertyMetadata
- Inheritance
-
UIPropertyMetadata
- Inherited Members
- Extension Methods
Constructors
UIPropertyMetadata()
Initializes a new instance of the UIPropertyMetadata class.
public UIPropertyMetadata()
UIPropertyMetadata(object?, bool, bool, bool, bool, UpdateSourceTrigger, bool, bool, bool, bool)
Initializes a new instance of the UIPropertyMetadata class.
public UIPropertyMetadata(object? defaultValue, bool affectsTransform = false, bool affectsArrange = false, bool affectsMeasure = false, bool affectsParentMeasure = false, UpdateSourceTrigger defaultUpdateSourceTrigger = UpdateSourceTrigger.PropertyChanged, bool defaultTwoWayBinding = false, bool isAnimationProhibited = false, bool isAttached = false, bool isBindable = true)
Parameters
defaultValueobjectThe default value of the property.
affectsTransformboolA value indicating whether the property value change affects the element transform.
affectsArrangeboolA value indicating whether the property value change affects the element arrange.
affectsMeasureboolA value indicating whether the property value change affects the element measure.
affectsParentMeasureboolA value indicating whether the property value change affects the parent element measure.
defaultUpdateSourceTriggerUpdateSourceTriggerA value that sets the default data binding UpdateSourceTrigger for this property.
defaultTwoWayBindingboolA value indicating whether the property should enable two-way binding by default.
isAnimationProhibitedboolA value indicating whether the animation can't be applied for this property.
isAttachedboolA value indicating whether the property is attached property and doesn't exist in target type definition.
isBindableboolA value indicating whether the property supports data bindings as target.
Properties
AffectsArrange
Gets a value indicating whether the property value change affects the element arrange.
public bool AffectsArrange { get; }
Property Value
AffectsMeasure
Gets a value indicating whether the property value change affects the element measure.
public bool AffectsMeasure { get; }
Property Value
AffectsParentMeasure
Gets a value indicating whether the property value change affects the parent element measure.
public bool AffectsParentMeasure { get; }
Property Value
AffectsTransform
Gets a value indicating whether the property value change affects the element transform.
public bool AffectsTransform { get; }
Property Value
DefaultTwoWayBinding
Gets a value indicating whether the property should enable two-way binding by default.
public bool DefaultTwoWayBinding { get; }
Property Value
DefaultUpdateSourceTrigger
Gets a value that sets the default data binding UpdateSourceTrigger for this property.
public UpdateSourceTrigger DefaultUpdateSourceTrigger { get; }
Property Value
IsAnimationProhibited
Gets a value indicating whether the animation can't be applied for this property.
public bool IsAnimationProhibited { get; }
Property Value
IsAttached
Gets a value indicating whether the property is attached property and doesn't exist in target type definition.
public bool IsAttached { get; }
Property Value
IsBindable
Gets a value indicating whether the property supports data bindings as target.
public bool IsBindable { get; }