New to Telerik UI for WPF? Start a free 30-day trial

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:

C#
public class ItemPropertyDefinition : DependencyObject, INotifyPropertyChanged

Inheritance: objectItemPropertyDefinition

Implements: INotifyPropertyChanged

Constructors

Initializes a new instance of the ItemPropertyDefinition class.

C#
public ItemPropertyDefinition()

Initializes a new instance of the ItemPropertyDefinition class.

C#
public ItemPropertyDefinition(ItemPropertyInfo itemPropertyInfo)
Parameters:itemPropertyInfoItemPropertyInfo

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

Initializes a new instance of the ItemPropertyDefinition class.

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

The name of the property.

propertyTypeType

Type of the property.

displayNamestring

The display name.

Initializes a new instance of the ItemPropertyDefinition class.

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

The name of the property.

propertyTypeType

Type of the property.

Fields

DisplayNameProperty

DependencyProperty

Identifies the DisplayName dependency property.

C#
public static readonly DependencyProperty DisplayNameProperty

PropertyNameProperty

DependencyProperty

Identifies the PropertyName dependency property.

C#
public static readonly DependencyProperty PropertyNameProperty

PropertyTypeProperty

DependencyProperty

Identifies the PropertyType dependency property.

C#
public static readonly DependencyProperty PropertyTypeProperty

Properties

Gets the component type.

C#
public Type ComponentType { get; }
Property Value:

The component type.

Gets or sets the display name of the property.

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

The display name of the property.

Gets the effective display name.

C#
public string EffectiveDisplayName { get; }
Property Value:

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

Gets a value indicating whether this instance is auto generated.

C#
public bool IsAutoGenerated { get; }
Property Value:

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

Gets or sets the name of the property.

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

The name of the property.

Gets or sets the type of the property.

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

The type of the property.

Methods

Raises this object's PropertyChanged event.

C#
protected virtual void OnPropertyChanged(string propertyName)
Parameters:propertyNamestring

The property that has a new value.

Events

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

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged