Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NCommandBarsManager Class / QueryCommandUIState Event


In This Topic
    QueryCommandUIState Event
    In This Topic
    Fired just before the command is painted. Use this event if you want to dynamically update the command's state.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DescriptionAttribute("Fired just before the command is painted. Use this event if you want to dynamically update the command's state.")>
    Public Event QueryCommandUIState As QueryCommandUIStateEventHandler
    'Usage
     
    
    Dim instance As NCommandBarsManager
    Dim handler As QueryCommandUIStateEventHandler
     
    AddHandler instance.QueryCommandUIState, handler
    [System.ComponentModel.Description("Fired just before the command is painted. Use this event if you want to dynamically update the command's state.")]
    public event QueryCommandUIStateEventHandler QueryCommandUIState
    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
    Gets the NCommand object associated with the event. (Inherited from Nevron.UI.WinForm.Controls.CommandEventArgs)
    Gets/sets a value whether the event is handled. (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