TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ZoomCommandProvider Class / SetZoomCommands Method
The System.Windows.Forms.IButtonControl to associate the C1ZoomCommandProvider.
if the value isn't ZoomCommands.None associates ZoomCommands with the specified System.Windows.Forms.IButtonControl.
Example

In This Topic
    SetZoomCommands Method (C1ZoomCommandProvider)
    In This Topic
    Syntax
    'Declaration
     
    
    Public Sub SetZoomCommands( _
       ByVal control As IButtonControl, _
       ByVal value As ZoomCommands _
    ) 
    public void SetZoomCommands( 
       IButtonControl control,
       ZoomCommands value
    )

    Parameters

    control
    The System.Windows.Forms.IButtonControl to associate the C1ZoomCommandProvider.
    value
    if the value isn't ZoomCommands.None associates ZoomCommands with the specified System.Windows.Forms.IButtonControl.
    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