AnchorLayoutInput Element

Specifies input for an anchor layout element.

Syntax

<AnchorLayoutInput
    Bottom="AnchorEdge element"
    ContributesToHeight="{true | false}"
    ContributesToWidth="{true | false}"
    Horizontal="{Center | Far | Fill | Near}"
    Left="AnchorEdge element"
    Right="AnchorEdge element"
    Top="AnchorEdge element"
    Vertical="{Center | Far | Fill | Near}"
/>

Attributes

Bottom

An AnchorEdge element indicating the bottom anchor edge. You must use the inline construction of this element.

ContributesToHeight

Specifies whether the view item's height is included in the height of the AnchorLayout (this setting is applicable when SizeToVerticalChildren is true).

ContributesToWidth

Specifies whether the view item's width is included in the width of the AnchorLayout (this setting is applicable when SizeToHorizontalChildren is true).

Horizontal

Specifies the horizontal alignment between edge anchors, which must be a member of the AnchorAlignment enumeration.

Left

An AnchorEdge element indicating the left anchor edge. You must use the inline construction of this element.

Right

An AnchorEdge element indicating the right anchor edge. You must use the inline construction of this element.

Top

An AnchorEdge element indicating the top anchor edge. You must use the inline construction of this element.

Vertical

Specifies the vertical alignment between edge anchors, which must be a member of the AnchorAlignment enumeration.

Requirements

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also

Show: