FormLayoutInput Element

Defines a form layout.

Syntax

<FormLayoutInput
    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. Use the inline construction for 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. This value must be a member of the AnchorAlignment enumeration.

Left

An AnchorEdge element indicating the left anchor edge. Use the inline construction for this element.

Right

An AnchorEdge element indicating the right anchor edge. Use the inline construction for this element.

Top

An AnchorEdge element indicating the top anchor edge. Use the inline construction for 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