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


context
Object context to evaluate enable state within it.
Object context to evaluate enable state whithin it
parameters
Additional parameters used when evaluating the enabled state.
Additional parameters to evaluate enabled state
Enterprise Only Feature. Evaluates the enabled state of the command using the given context with string parameters.
Evaluates the enabled state of the command using context with string parameters.

Syntax

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

Parameters

context
Object context to evaluate enable state within it.
Object context to evaluate enable state whithin it
parameters
Additional parameters used when evaluating the enabled state.
Additional parameters to evaluate enabled state

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.