New to Telerik UI for WPFStart a free 30-day trial

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:

C#
[TelerikToolboxCategory("Navigation")]
public class RadTaskBoard : Selector

Inheritance: objectRadTaskBoard

Constructors

Initializes a new instance of the RadTaskBoard class.

C#
public RadTaskBoard()

Fields

AutoGenerateColumnsProperty

DependencyProperty

Identifies the AutoGenerateColumns dependency property.

C#
public static readonly DependencyProperty AutoGenerateColumnsProperty

Identifies the CanUserCollapseColumns dependency property.

C#
public static readonly DependencyProperty CanUserCollapseColumnsProperty

CanUserSelectProperty

DependencyProperty

Identifies the CanUserSelect dependency property.

C#
public static readonly DependencyProperty CanUserSelectProperty

CategoriesProperty

DependencyProperty

Identifies the Categories dependency property.

C#
public static readonly DependencyProperty CategoriesProperty

Represents the CollapsedColumnWidth dependency property.

C#
public static readonly DependencyProperty CollapsedColumnWidthProperty

ColumnHeaderHeightProperty

DependencyProperty

Represents the ColumnHeaderHeight dependency property.

C#
public static readonly DependencyProperty ColumnHeaderHeightProperty

Represents the ColumnHeaderTemplate dependency property.

C#
public static readonly DependencyProperty ColumnHeaderTemplateProperty

ColumnOffsetProperty

DependencyProperty

Represents the ColumnOffset dependency property.

C#
public static readonly DependencyProperty ColumnOffsetProperty

ColumnWidthProperty

DependencyProperty

Represents the ColumnWidth dependency property.

C#
public static readonly DependencyProperty ColumnWidthProperty

DragDropBehaviorProperty

DependencyProperty

Identifies the DragDropBehavior dependency property.

C#
public static readonly DependencyProperty DragDropBehaviorProperty

DragVisualProviderProperty

DependencyProperty

Identifies the DragVisualProvider dependency property.

C#
public static readonly DependencyProperty DragVisualProviderProperty

DropVisualProviderProperty

DependencyProperty

Identifies the DropVisualProvider dependency property.

C#
public static readonly DependencyProperty DropVisualProviderProperty

IsDragDropEnabledProperty

DependencyProperty

Identifies the IsDragDropEnabled dependency property.

C#
public static readonly DependencyProperty IsDragDropEnabledProperty

ItemHeightProperty

DependencyProperty

Represents the ItemHeight dependency property.

C#
public static readonly DependencyProperty ItemHeightProperty

Properties

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

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

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.

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

C#
public bool CanUserCollapseColumns { get; set; }

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

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

true if user can select; otherwise, false.

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

C#
public IEnumerable Categories { get; set; }

Gets or sets the width of the collapsed columns.

C#
public double CollapsedColumnWidth { get; set; }

Gets or sets the height of the column header.

C#
public double ColumnHeaderHeight { get; set; }

Gets or sets the template for the column header.

C#
public DataTemplate ColumnHeaderTemplate { get; set; }

Gets or sets the distance between the columns.

C#
public double ColumnOffset { get; set; }

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

C#
public ObservableCollection<TaskBoardColumn> Columns { get; }

Gets or sets the width of the columns.

C#
public double ColumnWidth { get; set; }

Gets or sets the drag drop behavior for this control.

C#
public DragDropBehavior<DragDropState> DragDropBehavior { get; set; }

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

C#
public IDragVisualProvider DragVisualProvider { get; set; }

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

C#
public TaskBoardLinearDropVisualProvider DropVisualProvider { get; set; }

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

C#
public string GroupMemberPath { get; set; }

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

C#
public bool IsDragDropEnabled { get; set; }

Gets or sets the ItemHeight.

C#
public double ItemHeight { get; set; }

Methods

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

C#
protected override bool IsItemItsOwnContainerOverride(object item)
Parameters:itemobject

The item to check.

Returns:

bool

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

C#
public override void OnApplyTemplate()
C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

C#
protected override void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle)
Parameters:oldItemContainerStyleStylenewItemContainerStyleStyle
C#
protected override void OnItemContainerStyleSelectorChanged(StyleSelector oldItemContainerStyleSelector, StyleSelector newItemContainerStyleSelector)
Parameters:oldItemContainerStyleSelectorStyleSelectornewItemContainerStyleSelectorStyleSelector

Raises the event.

C#
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters:eNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

C#
protected override void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate)
Parameters:oldItemTemplateDataTemplatenewItemTemplateDataTemplate
C#
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters:oldItemTemplateSelectorDataTemplateSelectornewItemTemplateSelectorDataTemplateSelector
C#
protected override void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters:eSelectionChangedEventArgs

Events

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

C#
public event EventHandler<TaskBoardAutoGeneratingColumnEventArgs> AutoGeneratingColumn

Occurs when a task board item is being generated.

C#
public event EventHandler<TaskBoardAutoGeneratingItemEventArgs> AutoGeneratingItem