Click or drag to resize

RenderContext Class

Encapsulates context for view render operations.
Inheritance Hierarchy
SystemObject
  Internal.ComponentFactory.Krypton.ToolkitGlobalId
    Internal.ComponentFactory.Krypton.ToolkitViewContext
      Internal.ComponentFactory.Krypton.ToolkitRenderContext

Namespace: Internal.ComponentFactory.Krypton.Toolkit
Assembly: NeoAxis.Core.Editor (in NeoAxis.Core.Editor.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public class RenderContext : ViewContext

The RenderContext type exposes the following members.

Constructors
 NameDescription
Public methodRenderContext(Control, Graphics, Rectangle, IRenderer) Initialize a new instance of the ViewContext class.
Public methodRenderContext(Control, Control, Graphics, Rectangle, IRenderer) Initialize a new instance of the ViewContext class.
Public methodRenderContext(ViewManager, Control, Control, Graphics, Rectangle, IRenderer) Initialize a new instance of the ViewContext class.
Top
Properties
 NameDescription
Public propertyAlignControl Gets and sets the control to use when aligning elements.
(Inherited from ViewContext)
Public propertyClipRect Gets the rectangle that needs rendering.
Public propertyControl Gets and sets the owning control associated with rendering.
(Inherited from ViewContext)
Public propertyGraphics Gets the graphics instance used for rendering operations.
(Inherited from ViewContext)
Public propertyId Gets the unique identifier of the object.
(Inherited from GlobalId)
Public propertyRenderer Gets access to the renderer provider.
(Inherited from ViewContext)
Public propertyTopControl Gets the owning top level control associated with rendering.
(Inherited from ViewContext)
Public propertyViewManager Gets the owning view manager.
(Inherited from ViewContext)
Top
Methods
 NameDescription
Public methodDispose Dispose of resources.
(Inherited from ViewContext)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAlignedRectangle Calculate a rectangle in control coodinates that is aligned for gradient drawing.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also