New to Telerik UI for WPFStart a free 30-day trial

Represents information about a custom property.

Definition

Namespace:Telerik.Windows.Persistence.Services

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class CustomPropertyInfo

Inheritance: objectCustomPropertyInfo

Constructors

Initializes a new instance of the CustomPropertyInfo class.

C#
public CustomPropertyInfo()

Initializes a new instance of the CustomPropertyInfo class.

C#
public CustomPropertyInfo(string propertyName, Type propertyType)
Parameters:propertyNamestring

Name of the property.

propertyTypeType

Type of the property.

Properties

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

C#
public bool AllowCreateInstance { get; set; }
Property Value:

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

Gets or sets the property name.

C#
public string Name { get; set; }
Property Value:

The property name.

Gets or sets the property type.

C#
public Type PropertyType { get; set; }
Property Value:

The property type.

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

C#
public bool TreatAsUI { get; set; }