ClassItemPropertyDefinition
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:
public class ItemPropertyDefinition : DependencyObject, INotifyPropertyChanged
Inheritance: objectItemPropertyDefinition
Implements:
Constructors
ItemPropertyDefinition()
Initializes a new instance of the ItemPropertyDefinition class.
Declaration
public ItemPropertyDefinition()
ItemPropertyDefinition(ItemPropertyInfo)
Initializes a new instance of the ItemPropertyDefinition class.
Declaration
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.
ItemPropertyDefinition(string, Type, string)
Initializes a new instance of the ItemPropertyDefinition class.
Fields
DisplayNameProperty
Identifies the DisplayName dependency property.
Declaration
public static readonly DependencyProperty DisplayNameProperty
Field Value
DependencyProperty
PropertyNameProperty
Identifies the PropertyName dependency property.
Declaration
public static readonly DependencyProperty PropertyNameProperty
Field Value
DependencyProperty
PropertyTypeProperty
Identifies the PropertyType dependency property.
Declaration
public static readonly DependencyProperty PropertyTypeProperty
Field Value
DependencyProperty
Properties
ComponentType
Gets the component type.
Declaration
public Type ComponentType { get; }
Property Value
The component type.
DisplayName
Gets or sets the display name of the property.
Declaration
public string DisplayName { get; set; }
Property Value
The display name of the property.
EffectiveDisplayName
Gets the effective display name.
Declaration
public string EffectiveDisplayName { get; }
Property Value
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
public bool IsAutoGenerated { get; }
Property Value
true if this instance is auto generated; otherwise, false.
PropertyName
Gets or sets the name of the property.
Declaration
public string PropertyName { get; set; }
Property Value
The name of the property.
PropertyType
Gets or sets the type of the property.
Declaration
public Type PropertyType { get; set; }
Property Value
The type of the property.
Methods
OnPropertyChanged(string)
Raises this object's PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
The property that has a new value.
Events
PropertyChanged
Raised when a property on this object has a new value.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements