ClassRadTaskBoard
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:
[TelerikToolboxCategory("Navigation")]
public class RadTaskBoard : Selector
Inheritance: objectRadTaskBoard
Constructors
RadTaskBoard()
Initializes a new instance of the RadTaskBoard class.
Declaration
public RadTaskBoard()
Fields
AutoGenerateColumnsProperty
Identifies the AutoGenerateColumns dependency property.
Declaration
public static readonly DependencyProperty AutoGenerateColumnsProperty
Field Value
DependencyProperty
CanUserCollapseColumnsProperty
Identifies the CanUserCollapseColumns dependency property.
Declaration
public static readonly DependencyProperty CanUserCollapseColumnsProperty
Field Value
DependencyProperty
CanUserSelectProperty
Identifies the CanUserSelect dependency property.
Declaration
public static readonly DependencyProperty CanUserSelectProperty
Field Value
DependencyProperty
CategoriesProperty
Identifies the Categories dependency property.
Declaration
public static readonly DependencyProperty CategoriesProperty
Field Value
DependencyProperty
CollapsedColumnWidthProperty
Represents the CollapsedColumnWidth dependency property.
Declaration
public static readonly DependencyProperty CollapsedColumnWidthProperty
Field Value
DependencyProperty
ColumnHeaderHeightProperty
Represents the ColumnHeaderHeight dependency property.
Declaration
public static readonly DependencyProperty ColumnHeaderHeightProperty
Field Value
DependencyProperty
ColumnHeaderTemplateProperty
Represents the ColumnHeaderTemplate dependency property.
Declaration
public static readonly DependencyProperty ColumnHeaderTemplateProperty
Field Value
DependencyProperty
ColumnOffsetProperty
Represents the ColumnOffset dependency property.
Declaration
public static readonly DependencyProperty ColumnOffsetProperty
Field Value
DependencyProperty
ColumnWidthProperty
Represents the ColumnWidth dependency property.
Declaration
public static readonly DependencyProperty ColumnWidthProperty
Field Value
DependencyProperty
DragDropBehaviorProperty
Identifies the DragDropBehavior dependency property.
Declaration
public static readonly DependencyProperty DragDropBehaviorProperty
Field Value
DependencyProperty
DragVisualProviderProperty
Identifies the DragVisualProvider dependency property.
Declaration
public static readonly DependencyProperty DragVisualProviderProperty
Field Value
DependencyProperty
DropVisualProviderProperty
Identifies the DropVisualProvider dependency property.
Declaration
public static readonly DependencyProperty DropVisualProviderProperty
Field Value
DependencyProperty
IsDragDropEnabledProperty
Identifies the IsDragDropEnabled dependency property.
Declaration
public static readonly DependencyProperty IsDragDropEnabledProperty
Field Value
DependencyProperty
ItemHeightProperty
Represents the ItemHeight dependency property.
Declaration
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
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.
CanUserCollapseColumns
Gets or sets a value indicating whether the user can collapse columns.
CanUserSelect
Gets or sets a value indicating whether the user can select a task.
Declaration
public bool CanUserSelect { get; set; }
Property Value
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
public IEnumerable Categories { get; set; }
Property Value
CollapsedColumnWidth
Gets or sets the width of the collapsed columns.
Declaration
public double CollapsedColumnWidth { get; set; }
Property Value
ColumnHeaderHeight
Gets or sets the height of the column header.
ColumnHeaderTemplate
Gets or sets the template for the column header.
Declaration
public DataTemplate ColumnHeaderTemplate { get; set; }
Property Value
DataTemplate
ColumnOffset
Gets or sets the distance between the columns.
ColumnWidth
Gets or sets the width of the columns.
Columns
Gets the collection that contains all the columns in the control.
Declaration
public ObservableCollection<TaskBoardColumn> Columns { get; }
Property Value
DragDropBehavior
Gets or sets the drag drop behavior for this control.
Declaration
public DragDropBehavior<DragDropState> DragDropBehavior { get; set; }
Property Value
DragVisualProvider
Gets or sets the DragVisualProvider. This is a dependency property.
Declaration
public IDragVisualProvider DragVisualProvider { get; set; }
Property Value
DropVisualProvider
Gets or sets the DropVisualProvider. This is a dependency property.
Declaration
public TaskBoardLinearDropVisualProvider DropVisualProvider { get; set; }
Property Value
GroupMemberPath
Gets or sets a property name that indicates the member to group by.
IsDragDropEnabled
Gets or sets a value indicating whether the drag and drop functionality is enabled.
ItemHeight
Gets or sets the ItemHeight.
Methods
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnItemContainerStyleChanged(Style, Style)
Declaration
protected override void OnItemContainerStyleChanged(Style oldItemContainerStyle, Style newItemContainerStyle)
Parameters
oldItemContainerStyle
Style
newItemContainerStyle
Style
OnItemContainerStyleSelectorChanged(StyleSelector, StyleSelector)
Declaration
protected override void OnItemContainerStyleSelectorChanged(StyleSelector oldItemContainerStyleSelector, StyleSelector newItemContainerStyleSelector)
Parameters
oldItemContainerStyleSelector
StyleSelector
newItemContainerStyleSelector
StyleSelector
OnItemTemplateChanged(DataTemplate, DataTemplate)
Declaration
protected override void OnItemTemplateChanged(DataTemplate oldItemTemplate, DataTemplate newItemTemplate)
Parameters
oldItemTemplate
DataTemplate
newItemTemplate
DataTemplate
OnItemTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector)
Declaration
protected override void OnItemTemplateSelectorChanged(DataTemplateSelector oldItemTemplateSelector, DataTemplateSelector newItemTemplateSelector)
Parameters
oldItemTemplateSelector
DataTemplateSelector
newItemTemplateSelector
DataTemplateSelector
OnItemsChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameters
e
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
OnSelectionChanged(SelectionChangedEventArgs)
Declaration
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
public event EventHandler<TaskBoardAutoGeneratingColumnEventArgs> AutoGeneratingColumn
Event Value
AutoGeneratingItem
Occurs when a task board item is being generated.
Declaration
public event EventHandler<TaskBoardAutoGeneratingItemEventArgs> AutoGeneratingItem
Event Value