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: 2024.1.1.0 (2024.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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also