Class
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:

cs-api-definition
[Obsolete("This class is obsolete!")]
public class FieldDescriptor : IDataFieldDescriptor, IFieldDescriptor

Inheritance: objectFieldDescriptor

Implements: IDataFieldDescriptorIFieldDescriptor

Constructors

FieldDescriptor()

Declaration

cs-api-definition
public FieldDescriptor()

Properties

DataFormatString

Gets or sets the string that formats the data contained in the fields being described.

Declaration

cs-api-definition
public string DataFormatString { get; set; }

Property Value

string

The string that formats the data contained in the fields being described.

Implements IDataFieldDescriptor.DataFormatString

DataMemberBinding

Gets or sets the binding which points to the data member to display in the cells of the FieldDescriptor.

Declaration

cs-api-definition
public Binding DataMemberBinding { get; set; }

Property Value

Binding

The display member binding.

Implements IDataFieldDescriptor.DataMemberBinding

DataType

Gets or sets the data type of the fields being described.

Declaration

cs-api-definition
public Type DataType { get; set; }

Property Value

Type

The data type of the fields being described.

Implements IDataFieldDescriptor.DataType

IsAutoGenerated

Gets or sets a value indicating whether the descriptor is automatically generated.

Declaration

cs-api-definition
public bool IsAutoGenerated { get; set; }

Property Value

bool

True if the descriptor is automatically generated; otherwise, false.

Implements IDataFieldDescriptor.IsAutoGenerated

IsDataBound

Gets or sets a value indicating whether this instance is data bound.

Declaration

cs-api-definition
public bool IsDataBound { get; set; }

Property Value

bool

True if this instance is data bound; otherwise, false.

IsReadOnly

Gets or sets a value indicating whether the descriptor is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

True if the descriptor is read-only; otherwise, false.

Implements IFieldDescriptor.IsReadOnly

IsVisible

Gets or sets a value indicating whether the descriptor is visible in a user interface.

Declaration

cs-api-definition
public bool IsVisible { get; set; }

Property Value

bool

True if the descriptor is visible in a user interface; otherwise, false.

Implements IDataFieldDescriptor.IsVisible

ItemType

Gets the type of the item that the field belongs to.

Declaration

cs-api-definition
public Type ItemType { get; }

Property Value

Type

The type of the item.

Implements IDataFieldDescriptor.ItemType

UniqueName

Gets or sets the unique name of the field descriptor.

Declaration

cs-api-definition
public string UniqueName { get; set; }

Property Value

string

The unique name of the field descriptor..

Implements IFieldDescriptor.UniqueName

Methods

CanGroup()

Determines whether the data represented by the field descriptor can be sorted.

Declaration

cs-api-definition
public bool CanGroup()

Returns

bool

true if the data represented by the field descriptor can be sorted; otherwise, false.

Implements IDataFieldDescriptor.CanGroup()

CanSort()

Determines whether the data represented by the field descriptor can be sorted.

Declaration

cs-api-definition
public bool CanSort()

Returns

bool

true if the data represented by the field descriptor can be sorted; otherwise, false.

Implements IDataFieldDescriptor.CanSort()

CreateField()

Creates a field described by the descriptor.

Declaration

cs-api-definition
public virtual ContentControl CreateField()

Returns

ContentControl

Implements IFieldDescriptor.CreateField()