Class ItemPropertyDefinition
Contains information about a property. Used for declarative definition of item properties displayed by RadDataFilter.
Inheritance
Namespace: Telerik.Windows.Controls.Data.DataFilter
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class ItemPropertyDefinition : DependencyObject, INotifyPropertyChanged
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
System.ComponentModel.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
public ItemPropertyDefinition(string propertyName, Type propertyType)
Parameters
System.String
propertyName
The name of the property. |
System.Type
propertyType
Type of the property. |
ItemPropertyDefinition(String, Type, String)
Initializes a new instance of the ItemPropertyDefinition class.
Declaration
public ItemPropertyDefinition(string propertyName, Type propertyType, string displayName)
Parameters
System.String
propertyName
The name of the property. |
System.Type
propertyType
Type of the property. |
System.String
displayName
The display name. |
Fields
DisplayNameProperty
Identifies the DisplayName dependency property.
Declaration
public static readonly DependencyProperty DisplayNameProperty
Field Value
System.Windows.DependencyProperty
|
PropertyNameProperty
Identifies the PropertyName dependency property.
Declaration
public static readonly DependencyProperty PropertyNameProperty
Field Value
System.Windows.DependencyProperty
|
PropertyTypeProperty
Identifies the PropertyType dependency property.
Declaration
public static readonly DependencyProperty PropertyTypeProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ComponentType
Gets the component type.
Declaration
public Type ComponentType { get; }
Property Value
System.Type
The component type. |
DisplayName
Gets or sets the display name of the property.
Declaration
public string DisplayName { get; set; }
Property Value
System.String
The display name of the property. |
EffectiveDisplayName
Gets the effective display name.
Declaration
public string EffectiveDisplayName { get; }
Property Value
System.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
public bool IsAutoGenerated { get; }
Property Value
System.Boolean
|
PropertyName
Gets or sets the name of the property.
Declaration
public string PropertyName { get; set; }
Property Value
System.String
The name of the property. |
PropertyType
Gets or sets the type of the property.
Declaration
public Type PropertyType { get; set; }
Property Value
System.Type
The type of the property. |
Methods
OnPropertyChanged(String)
Raises this object's PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
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 Type
System.ComponentModel.PropertyChangedEventHandler
|