Click or drag to resize

ViewDrawButton Class

View element that can draw a button.
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 ViewDrawButton : ViewComposite

The ViewDrawButton type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyAllowUncheck
Gets and sets the allow uncheck state.
Public propertyButtonValues
Gets and sets the source for button values.
Public propertyChecked
Gets and sets the checked state.
Public propertyClientHeight
Gets and sets the height of the view.
(Inherited from ViewBase.)
Public propertyClientLocation
Gets and sets the location of the view inside the parent view.
(Inherited from ViewBase.)
Public propertyClientRectangle
Gets and sets the rectangle bounding the client area.
(Inherited from ViewBase.)
Public propertyClientSize
Gets and sets the size of the view.
(Inherited from ViewBase.)
Public propertyClientWidth
Gets and sets the width of the view.
(Inherited from ViewBase.)
Public propertyComponent
Gets the component associated with the element.
(Inherited from ViewBase.)
Public propertyCount
Gets the number of views in collection.
(Inherited from ViewComposite.)
Public propertyCurrentPalette
Gets access to the currently selected palette.
Public propertyDependantEnabledState
Get and set the view the enabled state of this view element is dependant on.
(Inherited from ViewBase.)
Public propertyDrawButtonComposition
Gets and sets the composition usage of the button.
Public propertyDrawTabBorder
Gets and sets if the border should be drawn as a tab border.
Public propertyDropDown
Gets and sets the drop down capability of the button.
Public propertyDropDownOrientation
Gets and sets the drop down orientation.
Public propertyDropDownPalette
Gets and sets the drop down capability of the button.
Public propertyDropDownPosition
Gets and sets the drop down position.
Public propertyElementState
Gets and sets the visual state of the element.
(Inherited from ViewBase.)
Public propertyEnabled
Gets and sets the enabled state of the element.
(Overrides ViewBaseEnabled.)
Public propertyFixedState
Set a fixed state to override usual behavior and appearance
(Inherited from ViewComposite.)
Public propertyId
Gets the unique identifier of the object.
(Inherited from GlobalId.)
Public propertyIsDisposed
Gets a value indicating if the view has been disposed.
(Inherited from ViewBase.)
Public propertyIsEnableDependant
Gets a value indicating if view enabled state is depedant on another view.
(Inherited from ViewBase.)
Public propertyIsFixed
Gets a value indicating if view is using a fixed state.
(Inherited from ViewBase.)
Public propertyIsReadOnly
Gets a value indicating whether the collection is read-only.
(Inherited from ViewBase.)
Public propertyItem
Gets or sets the view at the specified index.
(Inherited from ViewComposite.)
Public propertyKeyController
Gets and sets the associated key controller.
(Inherited from ViewBase.)
Public propertyLayoutDocker
Gets access to the contained layout docker.
Public propertyMouseController
Gets and sets the associated mouse controller.
(Inherited from ViewBase.)
Public propertyNonSplitRectangle
Gets the non split rectangle area.
Public propertyOrientation
Gets and sets the visual orientation.
Public propertyOwningControl
Gets and sets a reference to the control instance that contains this view element.
(Inherited from ViewBase.)
Public propertyParent
Gets the parent view.
(Inherited from ViewBase.)
Public propertyReverseRenderOrder
Gets and sets the use of reverse order when rendering.
(Inherited from ViewComposite.)
Public propertySourceController
Gets and sets the associated source controller.
(Inherited from ViewBase.)
Public propertySplitRectangle
Gets the split rectangle area.
Public propertySplitter
Gets and sets if the drop down button needs a splitter.
Public propertyState
Gets the visual state taking into account the owning controls state.
(Inherited from ViewBase.)
Public propertyTabBorderStyle
Gets and sets the tab border style of the button.
Public propertyTestForFocusCues
Gets and sets the use of focus cues for deciding if focus rects are allowed.
Public propertyUseMnemonic
Gets and sets usage of mnemonics.
Public propertyVisible
Gets and sets the enabled state of the element.
(Inherited from ViewBase.)
Top
Methods
  NameDescription
Public methodAdd
Append a view to the collection.
(Inherited from ViewComposite.)
Protected methodCheckPaletteState
Check that the palette and state are correct.
Public methodClear
Remove all views from the collection.
(Inherited from ViewComposite.)
Public methodClearFixedState
Clear down the use of the fixed state
(Inherited from ViewComposite.)
Public methodContains
Determines whether the collection contains the view.
(Inherited from ViewComposite.)
Public methodContainsRecurse
Determines whether any part of the view hierarchy is the specified view.
(Inherited from ViewComposite.)
Public methodCopyTo
Copies views to specified array starting at particular index.
(Inherited from ViewComposite.)
Public methodDispose
Release managed and unmanaged resources.
(Inherited from ViewBase.)
Protected methodDispose(Boolean)
Release unmanaged and optionally managed resources.
(Inherited from ViewComposite.)
Public methodDoubleClick
Left mouse button has been double clicked.
(Inherited from ViewBase.)
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.
(Overrides ViewCompositeEvalTransparentPaint(ViewContext).)
Protected methodFinalize
Release resources.
(Inherited from ViewBase.)
Public methodFindMouseController
Mouse has entered the view.
(Inherited from ViewBase.)
Public methodGetEnumerator
Shallow enumerate forward over children of the element.
(Inherited from ViewComposite.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetPreferredSize
Discover the preferred size of the element.
(Overrides ViewCompositeGetPreferredSize(ViewLayoutContext).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGotFocus
Source control has got the focus.
(Inherited from ViewBase.)
Public methodIndexOf
Determines the index of the specified view in the collection.
(Inherited from ViewComposite.)
Public methodInsert
Inserts a view to the collection at the specified index.
(Inherited from ViewComposite.)
Public methodKeyDown
Key has been pressed down.
(Inherited from ViewBase.)
Public methodKeyPress
Key has been pressed.
(Inherited from ViewBase.)
Public methodKeyUp
Key has been released.
(Inherited from ViewBase.)
Public methodLayout
Perform a layout of the elements.
(Overrides ViewCompositeLayout(ViewLayoutContext).)
Public methodLostFocus
Source control has lost the focus.
(Inherited from ViewBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMouseDown
Mouse button has been pressed in the view.
(Inherited from ViewBase.)
Public methodMouseEnter
Mouse has entered the view.
(Inherited from ViewBase.)
Public methodMouseLeave
Mouse has left the view.
(Inherited from ViewBase.)
Public methodMouseMove
Mouse has moved inside the view.
(Inherited from ViewBase.)
Public methodMouseUp
Mouse button has been released in the view.
(Inherited from ViewBase.)
Public methodRecurse
Deep enumerate forward over children of the element.
(Inherited from ViewComposite.)
Public methodRemove
Removes first occurance of specified view.
(Inherited from ViewComposite.)
Public methodRemoveAt
Removes the view at the specified index.
(Inherited from ViewComposite.)
Public methodRender
Perform a render of the elements.
(Overrides ViewCompositeRender(RenderContext).)
Public methodRenderAfter
Perform rendering after child elements are rendered.
(Inherited from ViewBase.)
Public methodRenderBefore
Perform rendering before child elements are rendered.
(Inherited from ViewBase.)
Public methodReverse
Shallow enumerate backwards over children of the element.
(Inherited from ViewComposite.)
Public methodReverseRecurse
Deep enumerate backwards over children of the element.
(Inherited from ViewComposite.)
Public methodSetCheckedPalettes
Update the source palettes for checked state drawing.
Public methodSetOrientation
Set the orientation of the two button components.
Public methodSetPalettes
Update the source palettes for non-checked drawing.
Public methodToString
Obtains the String representation of this instance.
(Overrides ViewCompositeToString.)
Public methodViewFromPoint
Find the view that contains the specified point.
(Inherited from ViewComposite.)
Top
Extension Methods
See Also