[]
Represents a base class for navigation element.
public abstract class NavElement : StackPanel, ISupportUia, IToolTipElement
Name | Description |
---|---|
NavElement(Orientation, NavItem) | Initializes a new instance of the NavElement class. |
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. |
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. |