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

In This Topic
    Position Property (ControlBar)
    In This Topic
    Gets or sets a value that represents the upper-left corner of the owner form client coordinates.
    Syntax
    'Declaration
     
    
    Public Property Position As Point
    public Point Position {get; set;}

    Property Value

    A System.Drawing.Point value that represents the location of the ControlBar window in pixels. The default is 0,0.
    Remarks
    This property only take effect when PositionMode property value is MultiTouch.PositionMode.Floating or MultiTouch.PositionMode.Fixed.
    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.

    Requirements

    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

    See Also