Table of Contents

Class PropertyBindingAttribute

Namespace
SharpDX.Direct2D1
Assembly
SharpDX.Direct2D1.dll

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 PropertyType

Type of binding

order int

Order of the property

min string

Minimum value of this property

max string

Maximum value of this property

defaultValue string

Default 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 int

Order of the property

min string

Minimum value of this property

max string

Maximum value of this property

defaultValue string

Default value of this property

Properties

BindingType

Gets binding type.

public PropertyType BindingType { get; }

Property Value

PropertyType

Default

Gets the Default value.

public string Default { get; }

Property Value

string

DisplayName

Gets the DisplayName.

public string DisplayName { get; set; }

Property Value

string

Max

Gets the Max value.

public string Max { get; }

Property Value

string

Min

Gets the Min value.

public string Min { get; }

Property Value

string

Order

Gets the order of this property.

public int Order { get; }

Property Value

int

Type

Gets the Type of the property.

public PropertyType Type { get; set; }

Property Value

PropertyType