FieldDescriptor
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
public FieldDescriptor()
Properties
Gets or sets the string that formats the data contained in the fields being described.
public string DataFormatString { get; set; }
The string that formats the data contained in the fields being described.
Implements:
DataMemberBinding
Binding
Gets or sets the binding which points to the data member to display in the cells of the FieldDescriptor.
public Binding DataMemberBinding { get; set; }
The display member binding.
Implements:
Gets or sets the data type of the fields being described.
public Type DataType { get; set; }
The data type of the fields being described.
Implements:
Gets or sets a value indicating whether the descriptor is automatically generated.
public bool IsAutoGenerated { get; set; }
True if the descriptor is automatically generated; otherwise, false.
Implements:
Gets or sets a value indicating whether this instance is data bound.
public bool IsDataBound { get; set; }
True if this instance is data bound; otherwise, false.
Gets or sets a value indicating whether the descriptor is read-only.
public bool IsReadOnly { get; set; }
True if the descriptor is read-only; otherwise, false.
Implements:
Gets or sets a value indicating whether the descriptor is visible in a user interface.
public bool IsVisible { get; set; }
True if the descriptor is visible in a user interface; otherwise, false.
Implements:
Gets the type of the item that the field belongs to.
public Type ItemType { get; }
The type of the item.
Implements:
Gets or sets the unique name of the field descriptor.
public string UniqueName { get; set; }
The unique name of the field descriptor..
Implements:
Methods
Determines whether the data represented by the field descriptor can be sorted.
public bool CanGroup()
true if the data represented by the field descriptor can be sorted; otherwise, false.
Implements:
Determines whether the data represented by the field descriptor can be sorted.
public bool CanSort()
true if the data represented by the field descriptor can be sorted; otherwise, false.
Implements:
CreateField()
ContentControl
Creates a field described by the descriptor.
public virtual ContentControl CreateField()
ContentControl
Implements: