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 TaskCard
class.
public TaskCard()
Properties
ArrangeHeightAnimated
Gets or sets the arrange height of the element. This property is for internal use only.
public double ArrangeHeightAnimated { get; set; }
Property Value
- double:
The arrange height of the element.
ArrangeWidthAnimated
Gets or sets the arrange width of the element. This property is for internal use only.
public double ArrangeWidthAnimated { get; set; }
Property Value
- double:
The arrange width of the element.
ArrangeXAnimated
Gets or sets the arrange x-coordinate of the element. This property is for internal use only.
public double ArrangeXAnimated { get; set; }
Property Value
- double:
The arrange x-coordinate of the element.
ArrangeYAnimated
Gets or sets the arrange y-coordinate of the element. This property is for internal use only.
public double ArrangeYAnimated { get; set; }
Property Value
- double:
The arrange y-coordinate of the element.
CornerRadius
Gets or sets the corner radius.
public CornerRadius CornerRadius { get; set; }
Property Value
- CornerRadius:
The corner radius. The default value is
3.0
.
IsDragging
Gets 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
Identifies the ArrangeHeightAnimated dependency property. This field is read-only.
public static readonly DependencyProperty ArrangeHeightAnimatedProperty
ArrangeWidthAnimatedProperty
Identifies the ArrangeWidthAnimated dependency property. This field is read-only.
public static readonly DependencyProperty ArrangeWidthAnimatedProperty
ArrangeXAnimatedProperty
Identifies the ArrangeXAnimated dependency property. This field is read-only.
public static readonly DependencyProperty ArrangeXAnimatedProperty
ArrangeYAnimatedProperty
Identifies the ArrangeYAnimated dependency property. This field is read-only.
public static readonly DependencyProperty ArrangeYAnimatedProperty
CornerRadiusProperty
Identifies the CornerRadius dependency property. This field is read-only.
public static readonly DependencyProperty CornerRadiusProperty
IsDraggingProperty
Identifies the IsDragging dependency property. This field is read-only.
public static readonly DependencyProperty IsDraggingProperty