In This Article

TaskColumnPanel Class

Represents a Panel that is used by an TaskBoard.

public class TaskColumnPanel : Panel, IOrientedElement
Inheritance:
object Visual UIElement FrameworkElement Panel object
Implements:
IOrientedElement

Constructors

TaskColumnPanel()

Initializes an instance of the class.

public TaskColumnPanel()

Properties

Orientation

Gets or sets the Orientation of the child element layout.

public Orientation Orientation { get; set; }

Property Value

Orientation:

The Orientation of the child element layout. The default value is Horizontal.

Methods

ArrangeOverride(Size)

When overridden in a derived class, positions child elements and determines a size for a FrameworkElement derived class.

protected override Size ArrangeOverride(Size finalSize)
Parameter Type Description
finalSize Size

The final area within the parent that this element should use to arrange itself and its children.

Returns

Size:

The actual size used.

GetLayoutClip(Size)

Returns a geometry for a clipping mask.

protected override Geometry GetLayoutClip(Size layoutSlotSize)
Parameter Type Description
layoutSlotSize Size

The layout slot size.

Returns

Geometry:

The clipping mask geometry.

MeasureOverride(Size)

Measures all children given an available size and returns the element's desired size based on the size of its children.

protected override Size MeasureOverride(Size availableSize)
Parameter Type Description
availableSize Size

The size the element is suggested to fit inside.

Returns

Size:

The desired size of the element.

OnIsItemsHostChanged(bool, bool)

Occurs when the IsItemsHost property changes.

protected override void OnIsItemsHostChanged(bool oldIsItemsHost, bool newIsItemsHost)
Parameter Type Description
oldIsItemsHost bool

The old value.

newIsItemsHost bool

The new value.

Fields

OrientationProperty

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

public static readonly DependencyProperty OrientationProperty