ViewBase Class |
Namespace: Internal.ComponentFactory.Krypton.Toolkit
public abstract class ViewBase : GlobalId, IDisposable, IList<ViewBase>, ICollection<ViewBase>, IEnumerable<ViewBase>, IEnumerable
The ViewBase type exposes the following members.
Name | Description | |
---|---|---|
ClientHeight |
Gets and sets the height of the view.
| |
ClientLocation |
Gets and sets the location of the view inside the parent view.
| |
ClientRectangle |
Gets and sets the rectangle bounding the client area.
| |
ClientSize |
Gets and sets the size of the view.
| |
ClientWidth |
Gets and sets the width of the view.
| |
Component |
Gets the component associated with the element.
| |
Count |
Gets the number of views in collection.
| |
DependantEnabledState |
Get and set the view the enabled state of this view element is dependant on.
| |
ElementState |
Gets and sets the visual state of the element.
| |
Enabled |
Gets and sets the enabled state of the element.
| |
FixedState |
Set a fixed state to override usual behavior and appearance
| |
Id |
Gets the unique identifier of the object.
(Inherited from GlobalId.) | |
IsDisposed |
Gets a value indicating if the view has been disposed.
| |
IsEnableDependant |
Gets a value indicating if view enabled state is depedant on another view.
| |
IsFixed |
Gets a value indicating if view is using a fixed state.
| |
IsReadOnly |
Gets a value indicating whether the collection is read-only.
| |
Item |
Gets or sets the view at the specified index.
| |
KeyController |
Gets and sets the associated key controller.
| |
MouseController |
Gets and sets the associated mouse controller.
| |
OwningControl |
Gets and sets a reference to the control instance that contains this view element.
| |
Parent |
Gets the parent view.
| |
SourceController |
Gets and sets the associated source controller.
| |
State |
Gets the visual state taking into account the owning controls state.
| |
Visible |
Gets and sets the enabled state of the element.
|
Name | Description | |
---|---|---|
Add |
Append a view to the collection.
| |
Clear |
Remove all views from the collection.
| |
ClearFixedState |
Clear down the use of the fixed state
| |
Contains |
Determines whether the collection contains the view.
| |
ContainsRecurse |
Determines whether any part of the view hierarchy is the specified view.
| |
CopyTo |
Copies views to specified array starting at particular index.
| |
Dispose |
Release managed and unmanaged resources.
| |
Dispose(Boolean) |
Release unmanaged and optionally managed resources.
| |
DoubleClick |
Left mouse button has been double clicked.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
EvalTransparentPaint |
Evaluate the need for drawing transparent areas.
| |
Finalize |
Release resources.
(Overrides ObjectFinalize.) | |
FindMouseController |
Mouse has entered the view.
| |
GetEnumerator |
Shallow enumerate forward over children of the element.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetPreferredSize |
Discover the preferred size of the element.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GotFocus |
Source control has got the focus.
| |
IndexOf |
Determines the index of the specified view in the collection.
| |
Insert |
Inserts a view to the collection at the specified index.
| |
KeyDown |
Key has been pressed down.
| |
KeyPress |
Key has been pressed.
| |
KeyUp |
Key has been released.
| |
Layout |
Perform a layout of the elements.
| |
LostFocus |
Source control has lost the focus.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MouseDown |
Mouse button has been pressed in the view.
| |
MouseEnter |
Mouse has entered the view.
| |
MouseLeave |
Mouse has left the view.
| |
MouseMove |
Mouse has moved inside the view.
| |
MouseUp |
Mouse button has been released in the view.
| |
Recurse |
Deep enumerate forward over children of the element.
| |
Remove |
Removes first occurance of specified view.
| |
RemoveAt |
Removes the view at the specified index.
| |
Render |
Perform a render of the elements.
| |
RenderAfter |
Perform rendering after child elements are rendered.
| |
RenderBefore |
Perform rendering before child elements are rendered.
| |
Reverse |
Shallow enumerate backwards over children of the element.
| |
ReverseRecurse |
Deep enumerate backwards over children of the element.
| |
ToString |
Obtains the String representation of this instance.
(Overrides ObjectToString.) | |
ViewFromPoint |
Find the view that contains the specified point.
|
Name | Description | |
---|---|---|
GetReverseViewBase |
Returns reversed list.
(Defined by CollectionUtility.) | |
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |