Click or drag to resize

ViewContext Class

Encapsulates common context for view layout and render operations.
Inheritance Hierarchy

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 ViewContext : GlobalId, 
	IDisposable

The ViewContext type exposes the following members.

Constructors
 NameDescription
Public methodViewContext(Control, Control, Graphics, IRenderer) Initialize a new instance of the ViewContext class.
Public methodViewContext(ViewManager, Control, Control, IRenderer) Initialize a new instance of the ViewContext class.
Public methodViewContext(ViewManager, Control, Control, Graphics, IRenderer) Initialize a new instance of the ViewContext class.
Top
Properties
 NameDescription
Public propertyAlignControl Gets and sets the control to use when aligning elements.
Public propertyControl Gets and sets the owning control associated with rendering.
Public propertyGraphics Gets the graphics instance used for rendering operations.
Public propertyId Gets the unique identifier of the object.
(Inherited from GlobalId)
Public propertyRenderer Gets access to the renderer provider.
Public propertyTopControl Gets the owning top level control associated with rendering.
Public propertyViewManager Gets the owning view manager.
Top
Methods
 NameDescription
Public methodDispose Dispose of resources.
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 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