Dundas Chart for Windows Forms
IsEnabled(Object) Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl Namespace > Command Class > IsEnabled Method : IsEnabled(Object) Method


context
Object context to evaluate enabled state within it.
Object context to evaluate enable state whithin it
Enterprise Only Feature. Evaluates the enabled state of the command in its specified context.
Evaluates the enabled state of the command in its specified context.

Syntax

Visual Basic (Declaration)  
Public Overloads Function IsEnabled( _
   ByVal context As Object _
) As Boolean
Visual Basic (Usage) Copy Code
Dim instance As Command
Dim context As Object
Dim value As Boolean
 
value = instance.IsEnabled(context)
C#  
public bool IsEnabled( 
   object context
)

Parameters

context
Object context to evaluate enabled state within it.
Object context to evaluate enable state whithin it

Return Value

True if command is enabled in this context, otherwise false.
True if command is enabled in this context.

Remarks

The Command can be enabled in one context and disabled in other.

The context represents the objects for which the Command will change or operate over it.


The Command can be enabled in one context and disabled in other. The context represents the objects which Command will change or operate over it.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.