TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ZoomCommandProvider Class / GetZoomCommands Method
The System.Windows.Forms.IButtonControl for which to retrieve the C1ZoomCommandProvider.
Example

In This Topic
    GetZoomCommands Method (C1ZoomCommandProvider)
    In This Topic
    Retrieves the C1ZoomCommandProvider associated with the specified System.Windows.Forms.IButtonControl or not.
    Syntax
    'Declaration
     
    
    Public Function GetZoomCommands( _
       ByVal control As IButtonControl _
    ) As ZoomCommands
    public ZoomCommands GetZoomCommands( 
       IButtonControl control
    )

    Parameters

    control
    The System.Windows.Forms.IButtonControl for which to retrieve the C1ZoomCommandProvider.

    Return Value

    ZoomCommands object, indicating the Build-in command.
    Example

    The following code example shows how to use this property.

    This code example is part of a larger example provided for the C1ZoomCommandProvider 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