property Dialog.VAnchor as AnchorEnum
Retrieves or sets a value that indicates how the control is vertically anchored.

TypeDescription
AnchorEnum An AnchorEnum expression that indicates  how the control is vertically anchored.
Use the HAnchor and VAnchor property to control to container edges. If the control is anchored, the HAnchorOffect and VAnchorOffset properties defines the control's offset to anchored edge.  If the control is not anchored, the HAnchorOffect and VAnchorOffset properties defines the control's position in screen coordinates. Use the OnClick property to define the action that control executes when the user clicks on the control.