New to Telerik UI for WPF? Start a free 30-day trial

Definition

Namespace:Telerik.Windows.Controls.Carousel

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class CarouselFieldDescriptor : IDataFieldDescriptor, IFieldDescriptor

Inheritance: objectCarouselFieldDescriptor

Implements: IDataFieldDescriptorIFieldDescriptor

Constructors

C#
public CarouselFieldDescriptor()

Properties

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

C#
public string DataFormatString { get; set; }
Property Value:

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

Implements: IDataFieldDescriptor.DataFormatString

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

C#
public Binding DataMemberBinding { get; set; }
Property Value:

The display member binding.

Implements: IDataFieldDescriptor.DataMemberBinding

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

C#
public Type DataType { get; set; }
Property Value:

The data type of the fields being described.

Implements: IDataFieldDescriptor.DataType

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

C#
public bool IsAutoGenerated { get; set; }
Property Value:

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

Implements: IDataFieldDescriptor.IsAutoGenerated

C#
public bool IsDataBound { get; set; }

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

C#
public bool IsReadOnly { get; set; }
Property Value:

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

Implements: IFieldDescriptor.IsReadOnly

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

C#
public bool IsVisible { get; set; }
Property Value:

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

Implements: IDataFieldDescriptor.IsVisible

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

C#
public Type ItemType { get; }
Property Value:

The type of the item.

Implements: IDataFieldDescriptor.ItemType

Gets or sets the unique name of the field descriptor.

C#
public string UniqueName { get; set; }
Property Value:

The name of the unique.

Implements: IFieldDescriptor.UniqueName

Methods

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

C#
public bool CanGroup()
Returns:

bool

True if the data represented by the field descriptor can be grouped; otherwise, false.

Implements: IDataFieldDescriptor.CanGroup()

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

C#
public bool CanSort()
Returns:

bool

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

Implements: IDataFieldDescriptor.CanSort()

Creates a field described by the descriptor.

C#
public ContentControl CreateField()
Returns:

ContentControl

Implements: IFieldDescriptor.CreateField()