[]
        
(Showing Draft Content)

C1.Win.Input.DbNavigator.Items.NavElement

NavElement Class

Represents a base class for navigation element.

Inheritance
NavElement
Namespace: C1.Win.Input.DbNavigator.Items
Assembly: C1.Win.Input.DbNavigator.8.dll
Syntax
public abstract class NavElement : StackPanel, ISupportUia, IToolTipElement

Constructors

Name Description
NavElement(Orientation, NavItem)

Initializes a new instance of the NavElement class.

Properties

Name Description
Item

Corresponding item (model).

Text

Gets or sets the text associated with this item.

TextImageRelation

The position of text and image relative to each other.

ToolTipText

Gets or sets the text that appears as a ToolTip for the item.

Methods

Name Description
AlignChildren(Graphics)
ApplyStyle(DbNavigatorStyles)

Update the element appearance with the specified styles.

FinalizeUI()

Finalizes the user interface. This method is called when element is removed from UI.

Initialize()

Initialize element.

Layout(Graphics)

Layout this element based on its style and contents.

LayoutChildren(Graphics)
OnClick(EventArgs)

Called by the host control when the user clicks this Element.

OnDoubleClick(EventArgs)

Called by the host control when the user double-clicks this Element.

OnGotFocus(EventArgs)

Called by the host control when this Element receives the focus.

OnLostFocus(EventArgs)

Called by the host control when this Element loses the focus.

OnMouseDown(MouseEventArgs)

Called by the host control when the user presses a mouse button over this Element.

OnMouseEnter(EventArgs)

Called by the host control when the mouse enters this Element.

OnMouseLeave(EventArgs)

Called by the host control when the mouse leaves this Element.

OnMouseMove(MouseEventArgs)

Called by the host control when the mouse moves over this Element.

OnMouseUp(MouseEventArgs)

Called by the host control when the user releases a mouse button over this Element.

Render(Graphics, Rectangle)

Renders the element into a given rectangle.

Update()

Update element with corresponding NavItem item.