ClassRadTaskBoardItem
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
RadTaskBoardItem()
Initializes a new instance of the RadTaskBoardItem class.
Declaration
public RadTaskBoardItem()
Fields
IsDraggingProperty
Identifies the IsDragging dependency property.
Declaration
public static readonly DependencyProperty IsDraggingProperty
Field Value
DependencyProperty
IsSelectedProperty
Identifies the IsSelected dependency property.
Declaration
public static readonly DependencyProperty IsSelectedProperty
Field Value
DependencyProperty
Properties
Column
Gets the Column the task belongs to.
IsDragging
Gets a value indicating whether this instance is currently being dragged. This is a dependency property.
Declaration
[Browsable(false)]
public bool IsDragging { get; }
Property Value
IsSelected
Gets or sets a value indicating whether this instance is selected. This is a dependency property.
Methods
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.
OnIsSelectedChanged()
Called when selection is changed.
Declaration
protected virtual void OnIsSelectedChanged()
OnMouseDown(MouseButtonEventArgs)
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.
Declaration
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters
e
MouseButtonEventArgs
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.