Class
RadTaskBoard

Represents a task board control that allows users to display and manage tasks in a visual manner. The RadTaskBoard provides features for organizing tasks into columns, enabling drag-and-drop functionality, and responding to user interactions through touch and click events. Users can customize columns, control their widths, heights, and templates, and manage task grouping through various properties and events. The control supports automatic generation of columns based on the provided data source and allows for the addition, removal, and reordering of tasks with smooth animation and visual feedback.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
[TelerikToolboxCategory("Navigation")]
public class RadTaskBoard : Selector

Inheritance: objectRadTaskBoard

Constructors

RadTaskBoard()

Initializes a new instance of the RadTaskBoard class.

Declaration

cs-api-definition
public RadTaskBoard()

Fields

AutoGenerateColumnsProperty

Identifies the AutoGenerateColumns dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoGenerateColumnsProperty

Field Value

DependencyProperty

CanUserCollapseColumnsProperty

Identifies the CanUserCollapseColumns dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanUserCollapseColumnsProperty

Field Value

DependencyProperty

CanUserSelectProperty

Identifies the CanUserSelect dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CanUserSelectProperty

Field Value

DependencyProperty

CategoriesProperty

Identifies the Categories dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CategoriesProperty

Field Value

DependencyProperty

CollapsedColumnWidthProperty

Represents the CollapsedColumnWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CollapsedColumnWidthProperty

Field Value

DependencyProperty

ColumnHeaderHeightProperty

Represents the ColumnHeaderHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderHeightProperty

Field Value

DependencyProperty

ColumnHeaderTemplateProperty

Represents the ColumnHeaderTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnHeaderTemplateProperty

Field Value

DependencyProperty

ColumnOffsetProperty

Represents the ColumnOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnOffsetProperty

Field Value

DependencyProperty

ColumnWidthProperty

Represents the ColumnWidth dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ColumnWidthProperty

Field Value

DependencyProperty

DragDropBehaviorProperty

Identifies the DragDropBehavior dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragDropBehaviorProperty

Field Value

DependencyProperty

DragVisualProviderProperty

Identifies the DragVisualProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragVisualProviderProperty

Field Value

DependencyProperty

DropVisualProviderProperty

Identifies the DropVisualProvider dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropVisualProviderProperty

Field Value

DependencyProperty

IsDragDropEnabledProperty

Identifies the IsDragDropEnabled dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDragDropEnabledProperty

Field Value

DependencyProperty

ItemHeightProperty

Represents the ItemHeight dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ItemHeightProperty

Field Value

DependencyProperty

Properties

AutoGenerateColumns

Gets or sets a value indicating whether columns are created automatically when the ItemsSource property is set.

Declaration

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

Property Value

bool

true if the columns should be created automatically; otherwise, false. The default is true.

Remarks

If you specify columns in XAML, you should set AutoGenerateColumns to false. If you want to modify auto-generated columns during generation you can use AutoGeneratingColumn event.

CanUserCollapseColumns

Gets or sets a value indicating whether the user can collapse columns.

Declaration

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

Property Value

bool

CanUserSelect

Gets or sets a value indicating whether the user can select a task.

Declaration

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

Property Value

bool

true if user can select; otherwise, false.

Categories

Gets or sets a collection of categories that will be used by the ITaskBoardCardModel used in this RadTaskBoard.

Declaration

cs-api-definition
public IEnumerable Categories { get; set; }

Property Value

IEnumerable

CollapsedColumnWidth

Gets or sets the width of the collapsed columns.

Declaration

cs-api-definition
public double CollapsedColumnWidth { get; set; }

Property Value

double

ColumnHeaderHeight

Gets or sets the height of the column header.

Declaration

cs-api-definition
public double ColumnHeaderHeight { get; set; }

Property Value

double

ColumnHeaderTemplate

Gets or sets the template for the column header.

Declaration

cs-api-definition
public DataTemplate ColumnHeaderTemplate { get; set; }

Property Value

DataTemplate

ColumnOffset

Gets or sets the distance between the columns.

Declaration

cs-api-definition
public double ColumnOffset { get; set; }

Property Value

double

ColumnWidth

Gets or sets the width of the columns.

Declaration

cs-api-definition
public double ColumnWidth { get; set; }

Property Value

double

Columns

Gets the collection that contains all the columns in the control.

Declaration

cs-api-definition
public ObservableCollection<TaskBoardColumn> Columns { get; }

Property Value

ObservableCollection<TaskBoardColumn>

DragDropBehavior

Gets or sets the drag drop behavior for this control.

Declaration

cs-api-definition
public DragDropBehavior<DragDropState> DragDropBehavior { get; set; }

Property Value

DragDropBehavior<DragDropState>

DragVisualProvider

Gets or sets the DragVisualProvider. This is a dependency property.

Declaration

cs-api-definition
public IDragVisualProvider DragVisualProvider { get; set; }

Property Value

IDragVisualProvider

DropVisualProvider

Gets or sets the DropVisualProvider. This is a dependency property.

Declaration

cs-api-definition
public TaskBoardLinearDropVisualProvider DropVisualProvider { get; set; }

Property Value

TaskBoardLinearDropVisualProvider

GroupMemberPath

Gets or sets a property name that indicates the member to group by.

Declaration

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

Property Value

string

IsDragDropEnabled

Gets or sets a value indicating whether the drag and drop functionality is enabled.

Declaration

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

Property Value

bool

ItemHeight

Gets or sets the ItemHeight.

Declaration

cs-api-definition
public double ItemHeight { get; set; }

Property Value

double

Methods

IsItemItsOwnContainerOverride(object)

Determines if the specified item is (or is eligible to be) its own container.

Declaration

cs-api-definition
protected override bool IsItemItsOwnContainerOverride(object item)

Parameters

item

object

The item to check.

Returns

bool

True if the item is (or is eligible to be) its own container; otherwise, false.

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnItemContainerStyleChanged(Style, Style)

Declaration

cs-api-definition
protected override void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle)

Parameters

oldItemContainerStyle

Style

newItemContainerStyle

Style

OnItemContainerStyleSelectorChanged(StyleSelector, StyleSelector)

Declaration

cs-api-definition
protected override void OnItemContainerStyleSelectorChanged(StyleSelector oldItemContainerStyleSelector, StyleSelector newItemContainerStyleSelector)

Parameters

oldItemContainerStyleSelector

StyleSelector

newItemContainerStyleSelector

StyleSelector

OnItemTemplateChanged(DataTemplate, DataTemplate)

Declaration

cs-api-definition
protected override void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate)

Parameters

oldItemTemplate

DataTemplate

newItemTemplate

DataTemplate

OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)

Declaration

cs-api-definition
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)

Parameters

oldItemTemplateSelector

DataTemplateSelector

newItemTemplateSelector

DataTemplateSelector

OnItemsChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)

Parameters

e

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

OnSelectionChanged(SelectionChangedEventArgs)

Declaration

cs-api-definition
protected override void OnSelectionChanged(SelectionChangedEventArgs e)

Parameters

e

SelectionChangedEventArgs

Events

AutoGeneratingColumn

Occurs one time for each public, non-static property in the bound data type when the ItemsSource property is changed.

Declaration

cs-api-definition
public event EventHandler<TaskBoardAutoGeneratingColumnEventArgs> AutoGeneratingColumn

Event Value

EventHandler<TaskBoardAutoGeneratingColumnEventArgs>

AutoGeneratingItem

Occurs when a task board item is being generated.

Declaration

cs-api-definition
public event EventHandler<TaskBoardAutoGeneratingItemEventArgs> AutoGeneratingItem

Event Value

EventHandler<TaskBoardAutoGeneratingItemEventArgs>