Events

Here is a list of events exposed by the RadTaskBoard control:

  • AutoGeneratingColumn: Occurs each time a new column is auto-generated by the control. The type of the passed event arguments is TaskBoardAutoGeneratingColumnEventArgs.

    Example 1: Get column in AutoGeneratingColumn event handler

            private void TaskBoard_AutoGeneratingColumn(object sender, Telerik.Windows.Controls.TaskBoardAutoGeneratingColumnEventArgs e) 
            { 
                var column = e.Column; 
            } 
    
  • AutoGeneratingItem: Occurs each time a new TaskBoard item is auto-generated by the control. The type of the passed event arguments is TaskBoardAutoGeneratingItemEventArgs.

    Example 2: Get generated task

            private void TaskBoard_AutoGeneratingColumn(object sender, Telerik.Windows.Controls.TaskBoardAutoGeneratingItemEventArgs e) 
            { 
                var cardModel = e.Item; 
            } 
    
  • SelectionChanged: Occurs each time an item is selected. The type of the passed event arguments is SelectionChangedEventArgs.

    Example 3: Get the selected item

        private void RadTaskBoard_SelectionChanged(object sender, SelectionChangedEventArgs e) 
        { 
            if(e.AddedItems.Count >0) 
            { 
                var selectedItem = e.AddedItems[0]; 
            } 
        } 
    

    See Also

  • Getting Started

In this article
Not finding the help you need? Improve this article