Class
CustomPropertyInfo

Represents information about a custom property.

Definition

Namespace:Telerik.Windows.Persistence.Services

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class CustomPropertyInfo

Inheritance: objectCustomPropertyInfo

Constructors

CustomPropertyInfo()

Initializes a new instance of the CustomPropertyInfo class.

Declaration

cs-api-definition
public CustomPropertyInfo()

CustomPropertyInfo(string, Type)

Initializes a new instance of the CustomPropertyInfo class.

Declaration

cs-api-definition
public CustomPropertyInfo(string propertyName, Type propertyType)

Parameters

propertyName

string

Name of the property.

propertyType

Type

Type of the property.

Properties

AllowCreateInstance

Gets or sets a value indicating whether creating an instance is allowed.

Declaration

cs-api-definition
public bool AllowCreateInstance { get; set; }

Property Value

bool

True if creating an instance is allowed otherwise, an instance has to be provided.

Name

Gets or sets the property name.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string

The property name.

PropertyType

Gets or sets the property type.

Declaration

cs-api-definition
public Type PropertyType { get; set; }

Property Value

Type

The property type.

TreatAsUI

Gets or sets whether this property will be treated as UI property.

Declaration

cs-api-definition
public bool TreatAsUI { get; set; }

Property Value

bool