Class
ItemPropertyDefinition

Contains information about a property. Used for declarative definition of item properties displayed by RadDataFilter.

Definition

Namespace:Telerik.Windows.Controls.Data.DataFilter

Assembly:Telerik.Windows.Controls.Data.dll

Syntax:

cs-api-definition
public class ItemPropertyDefinition : DependencyObject, INotifyPropertyChanged

Inheritance: objectItemPropertyDefinition

Implements: INotifyPropertyChanged

Constructors

ItemPropertyDefinition()

Initializes a new instance of the ItemPropertyDefinition class.

Declaration

cs-api-definition
public ItemPropertyDefinition()

ItemPropertyDefinition(ItemPropertyInfo)

Initializes a new instance of the ItemPropertyDefinition class.

Declaration

cs-api-definition
public ItemPropertyDefinition(ItemPropertyInfo itemPropertyInfo)

Parameters

itemPropertyInfo

ItemPropertyInfo

The item property info on which this instance will be based.

ItemPropertyDefinition(string, Type)

Initializes a new instance of the ItemPropertyDefinition class.

Declaration

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

Parameters

propertyName

string

The name of the property.

propertyType

Type

Type of the property.

ItemPropertyDefinition(string, Type, string)

Initializes a new instance of the ItemPropertyDefinition class.

Declaration

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

Parameters

propertyName

string

The name of the property.

propertyType

Type

Type of the property.

displayName

string

The display name.

Fields

DisplayNameProperty

Identifies the DisplayName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DisplayNameProperty

Field Value

DependencyProperty

PropertyNameProperty

Identifies the PropertyName dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertyNameProperty

Field Value

DependencyProperty

PropertyTypeProperty

Identifies the PropertyType dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PropertyTypeProperty

Field Value

DependencyProperty

Properties

ComponentType

Gets the component type.

Declaration

cs-api-definition
public Type ComponentType { get; }

Property Value

Type

The component type.

DisplayName

Gets or sets the display name of the property.

Declaration

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

Property Value

string

The display name of the property.

EffectiveDisplayName

Gets the effective display name.

Declaration

cs-api-definition
public string EffectiveDisplayName { get; }

Property Value

string

Returns DisplayName if it's is not null or empty. Otherwise returns Name.

IsAutoGenerated

Gets a value indicating whether this instance is auto generated.

Declaration

cs-api-definition
public bool IsAutoGenerated { get; }

Property Value

bool

true if this instance is auto generated; otherwise, false.

PropertyName

Gets or sets the name of the property.

Declaration

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

Property Value

string

The name of the property.

PropertyType

Gets or sets the type of the property.

Declaration

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

Property Value

Type

The type of the property.

Methods

OnPropertyChanged(string)

Raises this object's PropertyChanged event.

Declaration

cs-api-definition
protected virtual void OnPropertyChanged(string propertyName)

Parameters

propertyName

string

The property that has a new value.

Events

PropertyChanged

Raised when a property on this object has a new value.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged