In This Article

TaskCard Class

Represents a task card.

[TemplateVisualState(Name = "NotDragging", GroupName = "DragStates")]
[TemplateVisualState(Name = "Dragging", GroupName = "DragStates")]
public class TaskCard : ContentControl
Inheritance:
object Visual UIElement FrameworkElement Control ContentControl object

Constructors

TaskCard()

Initializes an instance of the class.

public TaskCard()

Properties

ArrangeHeightAnimated

The arrange height of the element.

public double ArrangeHeightAnimated { get; set; }

Property Value

double:

The arrange height of the element.

Remarks

This property is for internal use only.

ArrangeWidthAnimated

The arrange width of the element.

public double ArrangeWidthAnimated { get; set; }

Property Value

double:

The arrange width of the element.

Remarks

This property is for internal use only.

ArrangeXAnimated

The arrange x-coordinate of the element.

public double ArrangeXAnimated { get; set; }

Property Value

double:

The arrange x-coordinate of the element.

Remarks

This property is for internal use only.

ArrangeYAnimated

The arrange y-coordinate of the element.

public double ArrangeYAnimated { get; set; }

Property Value

double:

The arrange y-coordinate of the element.

Remarks

This property is for internal use only.

CornerRadius

The corner radius.

public CornerRadius CornerRadius { get; set; }

Property Value

CornerRadius:

The default value is 3.0.

IsDragging

Indicates whether the control is currently being dragged.

public bool IsDragging { get; }

Property Value

bool:

true if the control is currently being dragged; otherwise, false.

Methods

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

Fields

ArrangeHeightAnimatedProperty

Defines the ArrangeHeightAnimated property.

public static readonly DependencyProperty ArrangeHeightAnimatedProperty

ArrangeWidthAnimatedProperty

Defines the ArrangeWidthAnimated property.

public static readonly DependencyProperty ArrangeWidthAnimatedProperty

ArrangeXAnimatedProperty

Defines the ArrangeXAnimated property.

public static readonly DependencyProperty ArrangeXAnimatedProperty

ArrangeYAnimatedProperty

Defines the ArrangeYAnimated property.

public static readonly DependencyProperty ArrangeYAnimatedProperty

CornerRadiusProperty

Defines the CornerRadius property.

public static readonly DependencyProperty CornerRadiusProperty

IsDraggingProperty

Defines the IsDragging property.

public static readonly DependencyProperty IsDraggingProperty

Extension Methods