←Select platform

EnableByIndex Method (ImageViewerInteractiveModes)

Summary

Enables an interactive mode giving its index in the collection.

Syntax

C#
VB
C++
public void EnableByIndex( 
   int index 
) 
Public Sub EnableByIndex( 
   ByVal index As Integer 
) 
public:  
   void EnableByIndex( 
      int index 
   ) 

Parameters

index

0-based index of the mode to enable. -1 will disable all the items in the collection.

Remarks

This method will iterate through all the items in the collection and set IsEnabled to false all the items except the one at index.

Example

For an example, refer to ImageViewerInteractiveModes.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize