Class
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:

cs-api-definition
public class RadTaskBoardItem : ContentControl

Inheritance: objectRadTaskBoardItem

Constructors

RadTaskBoardItem()

Initializes a new instance of the RadTaskBoardItem class.

Declaration

cs-api-definition
public RadTaskBoardItem()

Fields

IsDraggingProperty

Identifies the IsDragging dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDraggingProperty

Field Value

DependencyProperty

IsSelectedProperty

Identifies the IsSelected dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSelectedProperty

Field Value

DependencyProperty

Properties

Column

Gets the Column the task belongs to.

Declaration

cs-api-definition
public TaskBoardColumn Column { get; }

Property Value

TaskBoardColumn

IsDragging

Gets a value indicating whether this instance is currently being dragged. This is a dependency property.

Declaration

cs-api-definition
[Browsable(false)]
public bool IsDragging { get; }

Property Value

bool

IsSelected

Gets or sets a value indicating whether this instance is selected. This is a dependency property.

Declaration

cs-api-definition
public bool IsSelected { get; set; }

Property Value

bool

Methods

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnIsSelectedChanged()

Called when selection is changed.

Declaration

cs-api-definition
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

cs-api-definition
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.