Nevron Open Vision Documentation
NCommandSource Class Members
Fields  Properties  Methods 


The following tables list the members exposed by NCommandSource.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)CommandNamePropertyReference to the CommandName property  
Public Fieldstatic (Shared in Visual Basic)CommandSourcePropertyExReference to the CommandSource extended property  
Public Fieldstatic (Shared in Visual Basic)NCommandSourceSchemaSchema associated with NCommandSource  
Public Fieldstatic (Shared in Visual Basic)ShowTooltipProperty  
Public Fieldstatic (Shared in Visual Basic)UpdateIntervalPropertyReference to the UpdateInterval property  
Public Fieldstatic (Shared in Visual Basic)UpdateWhenVisibleProperty  
Top
Public Properties
 NameDescription
Public PropertyCommandNameGets or sets the full name of the command  
Public PropertyShowTooltipGets or sets whether the command source automatically shows a tooltip, when the mouse enters the owner element. The content of the tooltip is obtained dynamically by the UpdateCommandSource event. By default set to true.  
Public PropertyUpdateIntervalGets or sets the update interval (in milliseconds), at which to update the visual state of the command source element.  
Public PropertyUpdateWhenVisibleGets or sets whether the commands source should be updated only when the owner element is visible, in case it is a visual. By default set to true.  
Top
Public Methods
 NameDescription
Public MethodCreateDefaultTooltipContentCreates the default tooltip content for the current command.  
Public MethodGetCommandGets the command associated with that command source  
Public Methodstatic (Shared in Visual Basic)GetCommandSourceGets the value of the command source property to the specified element  
Public Methodstatic (Shared in Visual Basic)SetCommandSourceSets the value of the command source property to the specified element  
Top
Protected Methods
 NameDescription
Protected MethodAttachToSourceAttaches the command source to the specified element.  
Protected MethodDetachFromSourceDetaches the command source from the specified element.  
Protected MethodExecuteCommandExecutes this source command with the specified parameter.  
Protected MethodGetUpdateMaskGets the mask that defines the aspects of the owner element that need to be updated at update timer ticks and after command execution.  
Protected MethodOnCommandNameChangedCalled when the CommandName has changed  
Protected MethodOnOwnerElementMouseOverChangedCalled when the mouse over changed for the specified owner element.  
Protected MethodOnParentChangedOverridden. Called when the node parent has changed.  
Protected MethodOnUpdateIntervalChangedCalled when the UpdateInterval has changed  
Protected MethodOnUpdateWhenVisibleChangedCalled when the UpdateWhenVisible has changed  
Protected MethodOnVisualSourceHiddenCalled when the visual to which this source is attached is hidden  
Protected MethodOnVisualSourceShownCalled when the visual to which this source is attached is shown in the window. Performs a fast update.  
Protected MethodRaiseQueryCommandTargetRaises the NCommand.QueryTarget event and returns the resulting command target  
Protected MethodRaiseUpdateCommandSourceRaises the update command source event  
Protected MethodUpdateCommandSourceUpdates the command source owner element, by raising the NCommand.UpdateCommandSource event for the specified target.  
Protected MethodUpdateOwnerElementUpdates the owner element  
Protected MethodUpdateOwnerElementCoreUpdates the owner element from the result of the NCommand.UpdateCommandSource event.  
Top
See Also

Reference

NCommandSource Class
Nevron.Nov.UI Namespace

 

 


©2021. Nevron Software LLC.

Send Feedback