RadTaskBoardItem
Represents an item in a task board that can be selected or dragged. This class derives from ContentControl and provides functionality for managing the selected state and dragging behavior of task board items.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadTaskBoardItem : ContentControl
Inheritance: objectRadTaskBoardItem
Constructors
Initializes a new instance of the RadTaskBoardItem class.
public RadTaskBoardItem()
Fields
IsDraggingProperty
DependencyProperty
Identifies the IsDragging dependency property.
public static readonly DependencyProperty IsDraggingProperty
IsSelectedProperty
DependencyProperty
Identifies the IsSelected dependency property.
public static readonly DependencyProperty IsSelectedProperty
Properties
Gets the Column the task belongs to.
public TaskBoardColumn Column { get; }
Gets a value indicating whether this instance is currently being dragged. This is a dependency property.
[Browsable(false)]
public bool IsDragging { get; }
Gets or sets a value indicating whether this instance is selected. This is a dependency property.
public bool IsSelected { get; set; }
Methods
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.
Called when selection is changed.
protected virtual void OnIsSelectedChanged()
Invoked when an unhandled System.Windows.Input.Mouse.MouseDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseDown(MouseButtonEventArgs e)
The System.Windows.Input.MouseButtonEventArgs that contains the event data. This event data reports details about the mouse button that was pressed and the handled state.