Nevron Open Vision Documentation
NColorBar Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NColorBar.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)NColorBarSchemaSchema associated with NColorBar.  
Public Fieldstatic (Shared in Visual Basic)OrientationPropertyReference to the Orientation property.  
Public Fieldstatic (Shared in Visual Basic)SelectedValuePropertyReference to the SelectedValue property.  
Public Fieldstatic (Shared in Visual Basic)UpdateWhileDraggingPropertyReference to the UpdateWhileDragging property.  
Public Fieldstatic (Shared in Visual Basic)ValueSelectorExtendPercentPropertyReference to the ValueSelectorExtendPercent property.  
Top
Public Properties
 NameDescription
Public PropertyOrientationGets or sets the orientation of this color bar. By default set to Vertical.  
Public PropertySelectedValueGets or sets the currently selected color component value.  
Public PropertyUpdateWhileDraggingDetermines whether the selected value should be updated while the user drags the Value selector. If set to false the selected value is updated when the user releases the left mouse button. By default set to true.  
Public PropertyValueSelectorExtendPercentGets or sets the extension of the value selector pointers, measured as a percent of the color bar width/height for vertical/horizontal color bars respectively. By default set to 30%.  
Top
Protected Methods
 NameDescription
Protected MethodCreateColorBarRasterCreates the raster for this color bar's background.  
Protected MethodInvalidateColorBarImageInvalidates the color bar image.  
Protected MethodMeasureContentOverridden. Overriden to return the desired size of this color bar.  
Protected MethodOnKeyDownOverridden.   
Protected MethodOnMouseDownOverridden.   
Protected MethodOnMouseMoveOverridden.   
Protected MethodOnMouseUpOverridden.   
Protected MethodOnOrientationChangedCalled when the Orientation property has changed.  
Protected MethodOnPrePaintOverridden. Performs the element pre-children custom paint.  
Protected MethodPointFromValueGets the point corresponding to the given value.  
Protected MethodValueFromPointGets the value corresponding to the given point.  
Top
Public Events
 NameDescription
Public EventSelectedValueChangedUI event, which occurs when the user selects a new value from this color bar.  
Top
See Also

Reference

NColorBar Class
Nevron.Nov.UI Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback