Represents a Navigation
- Inheritance:
-
object
Marshal
By DisposableRef Object Object LogicalTree UIElement objectNode Base
Properties
CaptureMouseWhenPressed
Indicates whether to automatically capture the mouse when the element is pressed.
Property Value
- bool:
true
if the mouse should automatically be captured when the element is pressed; otherwise,false
.
InvalidateOnMouseEvents
Gets whether to invalidate the element when mouse events occur.
Property Value
- bool:
true
if the element should be invalidated when mouse events occur.
NavigationBar
Gets the Navigation
Property Value
- Navigation
Bar : The Navigation
Bar that contains the element.
NavigationPane
Gets the Navigation
Property Value
- Navigation
Pane : The Navigation
Pane that owns the element.
Methods
GetCursor(Point)
GetDrawState()
Gets the UIElement
Returns
- UIElement
Draw :State The UIElement
Draw for the element.State
Remarks
The default implementation of this method returns UIElementDrawState.None
.
MeasureOverride(Graphics, Size)
Measures the size in layout required for child elements and determines a size for the element itself.
Parameter | Type | Description |
---|---|---|
g | Graphics | The Graphics object to use for measurement. |
availableSize | Size | The available size that this element can give to child elements. Infinity can be specified as a value to indicate that the element will size to whatever content is available. |
Returns
- Size:
The size that this element determines it needs during layout, based on its calculations of child element sizes.
Remarks
Element authors should override this method, call Measure
on each visible child element and determine the total size required.
OnMouseUp(MouseEventArgs)
Raises the Mouse
Parameter | Type | Description |
---|---|---|
e | Mouse |
A |
OnRender(PaintEventArgs)
Renders the element.
Parameter | Type | Description |
---|---|---|
e | Paint |
A Paint |
Inherited Members
-
UIElement.
logger -
UIElement.
Dispose(bool) -
UIElement.
Add Pending Graphics Inversion(Rectangle) -
UIElement.
Add Pending Scroll Operation(Rectangle, Orientation, int) -
UIElement.
Add Pending Scroll Operation(Rectangle, int, int) -
UIElement.
Arrange(Rectangle) -
UIElement.
Arrange Override(Size) -
UIElement.
Capture Mouse() -
UIElement.
Contains Location(Point) -
UIElement.
Create Graphics() -
UIElement.
Dpi Scale Changed(Size F) -
UIElement.
Invalidate() -
UIElement.
Invalidate(Rectangle) -
UIElement.
Invalidate(Invalidation Levels, Invalidation Types) -
UIElement.
Invalidate Arrange() -
UIElement.
Invalidate Measure() -
UIElement.
Measure(Graphics, Size) -
UIElement.
On Click(Mouse Event Args) -
UIElement.
On Double Click(Mouse Event Args) -
UIElement.
On Mouse Capture Lost(Event Args) -
UIElement.
On Mouse Down(Mouse Event Args) -
UIElement.
On Mouse Enter(Mouse Event Args) -
UIElement.
On Mouse Hover(Mouse Event Args) -
UIElement.
On Mouse Leave(Mouse Event Args) -
UIElement.
On Mouse Move(Mouse Event Args) -
UIElement.
On Mouse Wheel(Mouse Event Args) -
UIElement.
On Parent Changed() -
UIElement.
On Render Child Elements(Paint Event Args) -
UIElement.
On Resize(Event Args) -
UIElement.
Post Arrange Override() -
UIElement.
Release Mouse Capture() -
UIElement.
Render(Paint Event Args) -
UIElement.
Transform To Ancestor(IUIElement) -
UIElement.
Transform To Descendant(IUIElement) -
UIElement.
Update Layout() -
UIElement.
Actual Height -
UIElement.
Actual Width -
UIElement.
Bounds -
UIElement.
Clip Bounds -
UIElement.
Desired Size -
UIElement.
Dpi Scale Factor -
UIElement.
Is Arrange Valid -
UIElement.
Is Measure Valid -
UIElement.
Is Mouse Captured -
UIElement.
Is Right To Left -
UIElement.
Size -
UIElement.
Visual Offset -
UIElement.
Click -
UIElement.
Double Click -
UIElement.
Mouse Capture Lost -
UIElement.
Mouse Down -
UIElement.
Mouse Enter -
UIElement.
Mouse Hover -
UIElement.
Mouse Leave -
UIElement.
Mouse Move -
UIElement.
Mouse Up -
UIElement.
Mouse Wheel -
UIElement.
Resize -
Logical
Tree Node Base. Create Children() -
Disposable
Object. Dispose() -
Disposable
Object. Verify Not Disposed() -
Disposable
Object. Is Disposed -
Disposable
Object. Disposed -
Marshal
By Ref Object. Get Lifetime Service() -
Marshal
By Ref Object. Initialize Lifetime Service() -
Marshal
By Ref Object. Memberwise Clone(bool) -
object.
Get Type() -
object.
Memberwise Clone() -
object.
To String() -
object.
Equals(object) -
object.
Equals(object, object) -
object.
Reference Equals(object, object) -
object.
Get Hash Code()