Click or drag to resize

ViewBase Class

Base class from which all view types derive.
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 abstract class ViewBase : GlobalId, 
	IDisposable, IList<ViewBase>, ICollection<ViewBase>, 
	IEnumerable<ViewBase>, IEnumerable

The ViewBase type exposes the following members.

Constructors
  NameDescription
Protected methodViewBase
Initialize a new instance of the ViewBase class.
Top
Properties
  NameDescription
Public propertyClientHeight
Gets and sets the height of the view.
Public propertyClientLocation
Gets and sets the location of the view inside the parent view.
Public propertyClientRectangle
Gets and sets the rectangle bounding the client area.
Public propertyClientSize
Gets and sets the size of the view.
Public propertyClientWidth
Gets and sets the width of the view.
Public propertyComponent
Gets the component associated with the element.
Public propertyCount
Gets the number of views in collection.
Public propertyDependantEnabledState
Get and set the view the enabled state of this view element is dependant on.
Public propertyElementState
Gets and sets the visual state of the element.
Public propertyEnabled
Gets and sets the enabled state of the element.
Public propertyFixedState
Set a fixed state to override usual behavior and appearance
Public propertyId
Gets the unique identifier of the object.
(Inherited from GlobalId.)
Public propertyIsDisposed
Gets a value indicating if the view has been disposed.
Public propertyIsEnableDependant
Gets a value indicating if view enabled state is depedant on another view.
Public propertyIsFixed
Gets a value indicating if view is using a fixed state.
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
Public propertyItem
Gets or sets the view at the specified index.
Public propertyKeyController
Gets and sets the associated key controller.
Public propertyMouseController
Gets and sets the associated mouse controller.
Public propertyOwningControl
Gets and sets a reference to the control instance that contains this view element.
Public propertyParent
Gets the parent view.
Public propertySourceController
Gets and sets the associated source controller.
Public propertyState
Gets the visual state taking into account the owning controls state.
Public propertyVisible
Gets and sets the enabled state of the element.
Top
Methods
  NameDescription
Public methodAdd
Append a view to the collection.
Public methodClear
Remove all views from the collection.
Public methodClearFixedState
Clear down the use of the fixed state
Public methodContains
Determines whether the collection contains the view.
Public methodContainsRecurse
Determines whether any part of the view hierarchy is the specified view.
Public methodCopyTo
Copies views to specified array starting at particular index.
Public methodDispose
Release managed and unmanaged resources.
Protected methodDispose(Boolean)
Release unmanaged and optionally managed resources.
Public methodDoubleClick
Left mouse button has been double clicked.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodEvalTransparentPaint
Evaluate the need for drawing transparent areas.
Protected methodFinalize
Release resources.
(Overrides ObjectFinalize.)
Public methodFindMouseController
Mouse has entered the view.
Public methodGetEnumerator
Shallow enumerate forward over children of the element.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPreferredSize
Discover the preferred size of the element.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGotFocus
Source control has got the focus.
Public methodIndexOf
Determines the index of the specified view in the collection.
Public methodInsert
Inserts a view to the collection at the specified index.
Public methodKeyDown
Key has been pressed down.
Public methodKeyPress
Key has been pressed.
Public methodKeyUp
Key has been released.
Public methodLayout
Perform a layout of the elements.
Public methodLostFocus
Source control has lost the focus.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMouseDown
Mouse button has been pressed in the view.
Public methodMouseEnter
Mouse has entered the view.
Public methodMouseLeave
Mouse has left the view.
Public methodMouseMove
Mouse has moved inside the view.
Public methodMouseUp
Mouse button has been released in the view.
Public methodRecurse
Deep enumerate forward over children of the element.
Public methodRemove
Removes first occurance of specified view.
Public methodRemoveAt
Removes the view at the specified index.
Public methodRender
Perform a render of the elements.
Public methodRenderAfter
Perform rendering after child elements are rendered.
Public methodRenderBefore
Perform rendering before child elements are rendered.
Public methodReverse
Shallow enumerate backwards over children of the element.
Public methodReverseRecurse
Deep enumerate backwards over children of the element.
Public methodToString
Obtains the String representation of this instance.
(Overrides ObjectToString.)
Public methodViewFromPoint
Find the view that contains the specified point.
Top
Extension Methods
See Also