Class PropertyBindingAttribute
Metadata description for CustomEffect property binding.
[AttributeUsage(AttributeTargets.Property, Inherited = true)]
public class PropertyBindingAttribute : Attribute
- Inheritance
-
PropertyBindingAttribute
- Inherited Members
Constructors
PropertyBindingAttribute(PropertyType, int, string, string, string)
Initializes a new instance of PropertyBindingAttribute attribute.
public PropertyBindingAttribute(PropertyType bindingType, int order, string min, string max, string defaultValue)
Parameters
bindingType
PropertyTypeType of binding
order
intOrder of the property
min
stringMinimum value of this property
max
stringMaximum value of this property
defaultValue
stringDefault value of this property
PropertyBindingAttribute(int, string, string, string)
Initializes a new instance of PropertyBindingAttribute attribute.
public PropertyBindingAttribute(int order, string min, string max, string defaultValue)
Parameters
order
intOrder of the property
min
stringMinimum value of this property
max
stringMaximum value of this property
defaultValue
stringDefault value of this property
Properties
BindingType
Gets binding type.
public PropertyType BindingType { get; }
Property Value
Default
Gets the Default value.
public string Default { get; }
Property Value
DisplayName
Gets the DisplayName.
public string DisplayName { get; set; }
Property Value
Max
Gets the Max value.
public string Max { get; }
Property Value
Min
Gets the Min value.
public string Min { get; }
Property Value
Order
Gets the order of this property.
public int Order { get; }
Property Value
Type
Gets the Type of the property.
public PropertyType Type { get; set; }