In This Article

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, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IGeneratorHost, IContainItemStorage
Inheritance:
System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control System.Windows.Controls.ItemsControl System.Windows.Controls.HeaderedItemsControl Object

Constructors

TaskColumn()

Initializes an instance of the TaskColumn class.

public TaskColumn()

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

System.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

System.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

System.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

System.Double:

The arrange y-coordinate of the element.

CardCornerRadius

Gets or sets the card corner radius.

public CornerRadius CardCornerRadius { get; set; }

Property Value

System.Windows.CornerRadius:

The card corner radius. The default value is 3.0.

CardSpacing

Gets or sets the spacing between cards.

public double CardSpacing { get; set; }

Property Value

System.Double:

The spacing between cards. The default value is 7.0.

CornerRadius

Gets or sets the corner radius.

public CornerRadius CornerRadius { get; set; }

Property Value

System.Windows.CornerRadius:

The corner radius. The default value is 3.0.

FooterTemplate

Gets or sets the System.Windows.DataTemplate to use for the column footer.

public DataTemplate FooterTemplate { get; set; }

Property Value

System.Windows.DataTemplate:

The System.Windows.DataTemplate to use for column footers.

FooterTemplateSelector

Gets or sets the System.Windows.Controls.DataTemplateSelector to use for the column footer.

public DataTemplateSelector FooterTemplateSelector { get; set; }

Property Value

System.Windows.Controls.DataTemplateSelector:

The System.Windows.Controls.DataTemplateSelector to use for column footers.

HasFooter

Gets whether the column should display a footer.

public bool HasFooter { get; }

Property Value

System.Boolean:

true if the column should display a footer; otherwise, false.

IsDragging

Gets whether the control is currently being dragged.

public bool IsDragging { get; }

Property Value

System.Boolean:

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

RotationAngle

Gets or sets the current rotation angle of the control.

public double RotationAngle { get; set; }

Property Value

System.Double:

The current rotation angle of the control. The default value is 0 degrees.

Methods

ClearContainerForItemOverride(DependencyObject, Object)

protected override void ClearContainerForItemOverride(DependencyObject element, object item)
Parameter Type Description
element System.Windows.DependencyObject

The System.Windows.DependencyObject that is the wrapper element.

item System.Object

The item that is being wrapped.

GetContainerForItemOverride()

Creates or identifies the element used to display the specified item.

protected override DependencyObject GetContainerForItemOverride()

Returns

System.Windows.DependencyObject:

The element that is used to display the given item.

GetLayoutClip(Size)

Returns a geometry for a clipping mask.

protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameter Type Description
layoutSlotSize System.Windows.Size

The layout slot size.

Returns

System.Windows.Media.Geometry:

The clipping mask geometry.

HitTestForCard(Point)

Hit tests the specified location for a TaskCard that is under it.

public TaskCard HitTestForCard(Point location)
Parameter Type Description
location System.Windows.Point

The System.Windows.Point location, relative to this column.

Returns

TaskCard:

The TaskCard that is under the location, if any.

IsItemItsOwnContainerOverride(Object)

Determines if the specified item is (or is eligible to be) its own item container.

protected override bool IsItemItsOwnContainerOverride(object item)
Parameter Type Description
item System.Object

Specified item.

Returns

System.Boolean:

true if the item is its own item container; otherwise, false.

OnApplyTemplate()

Invoked whenever application code or internal processes call ApplyTemplate.

public override void OnApplyTemplate()

OnItemsChanged(NotifyCollectionChangedEventArgs)

Occurs when the items have changed.

protected override void OnItemsChanged(NotifyCollectionChangedEventArgs e)
Parameter Type Description
e System.Collections.Specialized.NotifyCollectionChangedEventArgs

The System.Collections.Specialized.NotifyCollectionChangedEventArgs containing data related to this event.

PrepareContainerForItemOverride(DependencyObject, Object)

Prepares the specified element to display the specified item.

protected override void PrepareContainerForItemOverride(DependencyObject element, object item)
Parameter Type Description
element System.Windows.DependencyObject

The System.Windows.DependencyObject that is the wrapper element.

item System.Object

The item that is being wrapped.

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

CardCornerRadiusProperty

Identifies the CardCornerRadius dependency property. This field is read-only.

public static readonly DependencyProperty CardCornerRadiusProperty

CardSpacingProperty

Identifies the CardSpacing dependency property. This field is read-only.

public static readonly DependencyProperty CardSpacingProperty

CornerRadiusProperty

Identifies the CornerRadius dependency property. This field is read-only.

public static readonly DependencyProperty CornerRadiusProperty

FooterTemplateProperty

Identifies the FooterTemplate dependency property. This field is read-only.

public static readonly DependencyProperty FooterTemplateProperty

FooterTemplateSelectorProperty

Identifies the FooterTemplateSelector dependency property. This field is read-only.

public static readonly DependencyProperty FooterTemplateSelectorProperty

HasFooterProperty

Identifies the HasFooter dependency property. This field is read-only.

public static readonly DependencyProperty HasFooterProperty

IsDraggingProperty

Identifies the IsDragging dependency property. This field is read-only.

public static readonly DependencyProperty IsDraggingProperty

RotationAngleProperty

Identifies the RotationAngle dependency property. This field is read-only.

public static readonly DependencyProperty RotationAngleProperty

Inherited Members

  • System.Object.ToString()
  • System.Object.Equals(System.Object)
  • System.Object.Equals(System.Object, System.Object)
  • System.Object.ReferenceEquals(System.Object, System.Object)
  • System.Object.GetHashCode()
  • System.Object.GetType()
  • System.Object.MemberwiseClone()

Extension Methods