TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / ControlBar Class / DockPosition Property
Example

In This Topic
    DockPosition Property (ControlBar)
    In This Topic
    Gets or sets a value indicating the alignment of the ControlBar window.
    Syntax
    'Declaration
     
    
    Public Property DockPosition As ContentAlignment
    public ContentAlignment DockPosition {get; set;}

    Property Value

    One of the System.Drawing.ContentAlignment values. The default is ContentAlignment.MiddleLeft.
    Remarks
    This property only take effect when PositionMode property value is MultiTouch.PositionMode.Dock.
    Example

    The following code example shows how to use this property.

    This code example is part of a larger example provided for the ControlBar class.

    See Also