ClassFieldDescriptor
Describes a field that wraps a data element from a user data source.
Definition
Namespace:Telerik.Windows.Data
Assembly:Telerik.Windows.Data.dll
Syntax:
[Obsolete("This class is obsolete!")]
public class FieldDescriptor : IDataFieldDescriptor, IFieldDescriptor
Inheritance: objectFieldDescriptor
Implements:
Constructors
FieldDescriptor()
Declaration
public FieldDescriptor()
Properties
DataFormatString
Gets or sets the string that formats the data contained in the fields being described.
Declaration
public string DataFormatString { get; set; }
Property Value
The string that formats the data contained in the fields being described.
Implements
DataMemberBinding
Gets or sets the binding which points to the data member to display in the cells of the FieldDescriptor.
Declaration
public Binding DataMemberBinding { get; set; }
Property Value
Binding
The display member binding.
Implements
DataType
Gets or sets the data type of the fields being described.
Declaration
public Type DataType { get; set; }
Property Value
The data type of the fields being described.
Implements
IsAutoGenerated
Gets or sets a value indicating whether the descriptor is automatically generated.
Declaration
public bool IsAutoGenerated { get; set; }
Property Value
True if the descriptor is automatically generated; otherwise, false.
Implements
IsDataBound
Gets or sets a value indicating whether this instance is data bound.
Declaration
public bool IsDataBound { get; set; }
Property Value
True if this instance is data bound; otherwise, false.
IsReadOnly
Gets or sets a value indicating whether the descriptor is read-only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
True if the descriptor is read-only; otherwise, false.
Implements
IsVisible
Gets or sets a value indicating whether the descriptor is visible in a user interface.
Declaration
public bool IsVisible { get; set; }
Property Value
True if the descriptor is visible in a user interface; otherwise, false.
Implements
ItemType
Gets the type of the item that the field belongs to.
Declaration
public Type ItemType { get; }
Property Value
The type of the item.
Implements
UniqueName
Gets or sets the unique name of the field descriptor.
Declaration
public string UniqueName { get; set; }
Property Value
The unique name of the field descriptor..
Implements
Methods
CanGroup()
Determines whether the data represented by the field descriptor can be sorted.
Declaration
public bool CanGroup()
Returns
true if the data represented by the field descriptor can be sorted; otherwise, false.
Implements
CanSort()
Determines whether the data represented by the field descriptor can be sorted.
Declaration
public bool CanSort()
Returns
true if the data represented by the field descriptor can be sorted; otherwise, false.
Implements
CreateField()
Creates a field described by the descriptor.
Declaration
public virtual ContentControl CreateField()
Returns
ContentControl
Implements