New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class RadTaskBoardItem : ContentControl

Inheritance: objectRadTaskBoardItem

Constructors

Initializes a new instance of the RadTaskBoardItem class.

C#
public RadTaskBoardItem()

Fields

IsDraggingProperty

DependencyProperty

Identifies the IsDragging dependency property.

C#
public static readonly DependencyProperty IsDraggingProperty

IsSelectedProperty

DependencyProperty

Identifies the IsSelected dependency property.

C#
public static readonly DependencyProperty IsSelectedProperty

Properties

Gets the Column the task belongs to.

C#
public TaskBoardColumn Column { get; }

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

C#
[Browsable(false)]
public bool IsDragging { get; }

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

C#
public bool IsSelected { get; set; }

Methods

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when selection is changed.

C#
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.

C#
protected override void OnMouseDown(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

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.