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.

    See Also