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.

    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