Class FieldDescriptor
Describes a field that wraps a data element from a user data source.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class FieldDescriptor : Object, IDataFieldDescriptor, IFieldDescriptor
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
System.String
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
System.Windows.Data.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
System.Type
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
System.Boolean
|
Implements
IsDataBound
Gets or sets a value indicating whether this instance is data bound.
Declaration
public bool IsDataBound { get; set; }
Property Value
System.Boolean
|
IsReadOnly
Gets or sets a value indicating whether the descriptor is read-only.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean
|
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
System.Boolean
|
Implements
ItemType
Gets the type of the item that the field belongs to.
Declaration
public Type ItemType { get; }
Property Value
System.Type
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
System.String
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
System.Boolean
|
Implements
CanSort()
Determines whether the data represented by the field descriptor can be sorted.
Declaration
public bool CanSort()
Returns
System.Boolean
|
Implements
CreateField()
Creates a field described by the descriptor.
Declaration
public virtual ContentControl CreateField()
Returns
System.Windows.Controls.ContentControl
|