Nevron Open Vision Documentation
NCommandWidgetFactory Class Members
Properties  Methods 

The following tables list the members exposed by NCommandWidgetFactory.

Public Properties
Public PropertyItemImageSizeGets/Sets the preferred size of the images of the drop down list items produced by this factory. Set this property to NSize.Undefined to use the original size of the images. By default set to (16, 16).  
Public Methods
Public MethodCreateWidgetOverridden. Creates a widget for the given data source item. Overriden to create a pair box with the image and the widget for the given item. The image and the widget are obtained through the GetImage and CreateWidget methods.  
Public MethodGetCommandGets the command associated with the given node.  
Public MethodGetImageTries to get the image of the given item. Returns null if failed.  
Public MethodGetStringGets the string representation of the given data source item. The default implementation calls the ToString method of the given data source item. (Inherited from Nevron.Nov.UI.NWidgetFactory<NNode>)
Public MethodGetTagGets a custom object that should be assigned to the Tag property of the created item. (Inherited from Nevron.Nov.UI.NWidgetFactory<NNode>)
Protected Methods
Protected MethodGetCommandTextGets the command text.  
Protected MethodGetTooltipTextGets the tooltip text of the given item if it is a widget.  
See Also


NCommandWidgetFactory Class
Nevron.Nov.UI Namespace

Send Feedback