Flexible TreeView 5.1.9 Help
DrawContext Class Members
Fields  Properties  Methods 


The following tables list the members exposed by DrawContext.

Public Fields
 NameDescription
Public FieldBounds Gets or sets the drawing object`s bounds rectangle clipped by the parent bounds.  
Public FieldGetColor Gets or sets the method intended for retrieving a color of the drawing object.  
Public FieldGetColorGradient Gets or sets the method intended for retrieving a color gradient of the drawing object.  
Public FieldGraphics Gets or sets the draw surface.  
Public FieldIsEnabled Gets or sets a value indicating whether the treeview is enabled.  
Public FieldIsFocused Gets or sets a value indicating whether the treeview is focused.  
Public FieldNode Gets or sets the node that`s drawing using this context.  
Public FieldObjectContentFullBounds Gets the drawing object`s content bounds rectangle including clipped by the parent object`s area.  
Public FieldSelectionState Gets or sets the selection state of a drawing object.  
Top
Public Properties
 NameDescription
Public PropertyDefaultFont Gets the default font for a drawing object.  
Public PropertyIsMouseWithinBoundsWhether the mouse cursor is over the rectangle which bounds are specified in the Bounds property.  
Public PropertyIsSelected Gets or sets a value indicating whether an object that this context belongs to is selected.  
Public PropertyOwner Gets or sets the draw operation owner.  
Public PropertyParameters Gets or sets the draw operation parameters.  
Public PropertyTreeview Gets the treeview instance to which this context is attached.  
Top
Public Methods
 NameDescription
Public MethodAddClip Intersects the specified area with existing clip area.  
Public MethodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.  
Public MethodGetTextColorId Gets the text color identifier according to the draw context state.  
Public Methodstatic (Shared in Visual Basic)IsObjectVisible Determines whether the specified visibility settings allows to display an object in the specified node that is in the specified treeview.  
Public MethodReset Resets this context to a default state.  
Public MethodRestoreBoundsRestore the bounds previously saved by SaveCurrentBounds method.  
Public MethodRestoreClip Restores the clipping area from the internal history.  
Public MethodSaveAndSetBounds Saves the current bounds in the internal history storage and sets new bounds value.  
Public MethodSaveCurrentBounds Saves the current bounds to the internal history storage.  
Public MethodSaveCurrentClip Saves current clipping area to the internal history storage.  
Public MethodSetClip Sets the clipping area.  
Public MethodSetClipFromBounds Sets the clipping area from the current bounds.  
Top
See Also

Reference

DrawContext Class
ARMSoft.FlexibleTreeView Namespace

Send Feedback