TaskColumn Class
Represents a task column.
[TemplateVisualState(Name = "NotDragging", GroupName = "DragStates")]
[TemplateVisualState(Name = "Dragging", GroupName = "DragStates")]
[TemplatePart(Name = "PART_Gripper", Type = typeof(FrameworkElement))]
public class TaskColumn : HeaderedItemsControl
- Inheritance:
- object Visual UIElement FrameworkElement Control ItemsControl HeaderedItemsControl object
Constructors
TaskColumn()
Initializes an instance of the class.
public TaskColumn()
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.
CardCornerRadius
The card corner radius.
public CornerRadius CardCornerRadius { get; set; }
Property Value
- CornerRadius:
The default value is
3.0.
CardSpacing
The spacing between cards.
CornerRadius
The corner radius.
public CornerRadius CornerRadius { get; set; }
Property Value
- CornerRadius:
The default value is
3.0.
FooterTemplate
The DataTemplate to use for the column footer.
FooterTemplateSelector
The DataTemplateSelector to use for the column footer.
public DataTemplateSelector? FooterTemplateSelector { get; set; }
Property Value
HasFooter
Indicates whether the column should display a footer.
public bool HasFooter { get; }
Property Value
- bool:
trueif the column should display a footer; otherwise,false.
IsDragging
Indicates whether the control is currently being dragged.
public bool IsDragging { get; }
Property Value
- bool:
trueif the control is currently being dragged; otherwise,false.
RotationAngle
The current rotation angle of the control.
Methods
ClearContainerForItemOverride(DependencyObject, object)
When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride(DependencyObject, object) method.
protected override void ClearContainerForItemOverride(DependencyObject element, object item)
| Parameter | Type | Description |
|---|---|---|
| element | DependencyObject | The container element. |
| item | object | The item. |
GetContainerForItemOverride()
Creates or identifies the element that is used to display the given item.
protected override DependencyObject GetContainerForItemOverride()
Returns
- DependencyObject:
The element that is used to display the given item.
GetLayoutClip(Size?)
Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space.
protected override Geometry? GetLayoutClip(Size? layoutSlotSize)
| Parameter | Type | Description |
|---|---|---|
| layoutSlotSize | Size | The size of the part of the element that does visual presentation. |
Returns
- Geometry:
The clipping geometry.
HitTestForCard(Point?)
Hit tests the specified location for a TaskCard that is under it.
public TaskCard? HitTestForCard(Point? location)
| Parameter | Type | Description |
|---|---|---|
| location | Point | The System.Windows.Point location, relative to this column. |
Returns
IsItemItsOwnContainerOverride(object)
Determines if the specified item is (or is eligible to be) its own container.
protected override bool IsItemItsOwnContainerOverride(object item)
| Parameter | Type | Description |
|---|---|---|
| item | object | The item to check. |
Returns
- bool:
trueif the item is (or is eligible to be) its own container; otherwise,false.
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
OnItemsChanged(NotifyCollectionChangedEventArgs)
Invoked when the Items property changes.
protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | NotifyCollectionChangedEventArgs | Information about the change. |
PrepareContainerForItemOverride(DependencyObject, object)
Prepares the specified element to display the specified item.
protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
| Parameter | Type | Description |
|---|---|---|
| element | DependencyObject | Element used to display the specified item. |
| item | object | Specified item. |
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
CardCornerRadiusProperty
Defines the CardCornerRadius property.
public static readonly DependencyProperty CardCornerRadiusProperty
CardSpacingProperty
Defines the CardSpacing property.
public static readonly DependencyProperty CardSpacingProperty
CornerRadiusProperty
Defines the CornerRadius property.
public static readonly DependencyProperty CornerRadiusProperty
FooterTemplateProperty
Defines the FooterTemplate property.
public static readonly DependencyProperty FooterTemplateProperty
FooterTemplateSelectorProperty
Defines the FooterTemplateSelector property.
public static readonly DependencyProperty FooterTemplateSelectorProperty
HasFooterProperty
Defines the HasFooter property.
public static readonly DependencyProperty HasFooterProperty
IsDraggingProperty
Defines the IsDragging property.
public static readonly DependencyProperty IsDraggingProperty
RotationAngleProperty
Defines the RotationAngle property.
public static readonly DependencyProperty RotationAngleProperty