This property only take effect when PositionMode property value is MultiTouch.PositionMode.Dock.
Following table shows which property will take effect when DockPosition different.
DockPosition | Margin |
---|---|
TopLeft | Top, Left |
TopCenter | Top |
TopRight | Top, Right |
MiddleLeft | Left |
MiddleCenter | not avaiable |
MiddleRight | Right |
BottomLeft | Bottom, Left |
BottomCenter | Bottom |
BottomRight | Bottom, Right |
The following code example shows how to use this property.
This code example is part of a larger example provided for the ControlBar class.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2