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