←Select platform

EnableByIndex Method

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

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly