Nevron.UI.WinForm.Controls Namespace / NCommand Class / QueryUIState Event


In This Topic
    QueryUIState Event
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Fired just before the command is painted. Use this event if you want to dynamically update its state.")>
    Public Event QueryUIState As QueryCommandUIStateEventHandler
    'Usage
     
    
    Dim instance As NCommand
    Dim handler As QueryCommandUIStateEventHandler
     
    AddHandler instance.QueryUIState, handler
    [System.ComponentModel.Description("Fired just before the command is painted. Use this event if you want to dynamically update its state.")]
    public event QueryCommandUIStateEventHandler QueryUIState
    Event Data

    The event handler receives an argument of type QueryCommandUIStateEventArgs containing data related to this event. The following QueryCommandUIStateEventArgs properties provide information specific to this event.

    PropertyDescription
    (Inherited from Nevron.UI.WinForm.Controls.CommandEventArgs)
    (Inherited from Nevron.UI.WinForm.Controls.CommandEventArgs)
    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