[]
        
(Showing Draft Content)

C1.Win.Input.DbNavigator.Items.NavItem

NavItem Class

Represents a base class for navigation item.

Namespace: C1.Win.Input.DbNavigator.Items
Assembly: C1.Win.Input.DbNavigator.8.dll
Syntax
public abstract class NavItem : INotifyPropertyChanged

Constructors

Name Description
NavItem()

Properties

Name Description
Cursor

Gets or sets the cursor that is displayed when the mouse pointer is over the item.

Enabled

Gets or sets whether the item is enabled.

Icon

Gets or sets the C1Icon that is displayed on a item.

Image

Gets or sets the image that is displayed on an item.

ImageAlign

Gets or sets the alignment of the image on the item.

ImageIndex

Gets or sets the image list index value of the image displayed on the item.

ImageKey

Gets or sets the key accessor for the image in the ImageList.

ImageList

Gets or sets the ImageList that contains the Image displayed on an item.

Size

Gets or sets the size of the item.

Text

Gets or sets the text associated with this item.

TextAlign

Gets or sets the alignment of the text on the item.

TextImageRelation

Gets or sets the position of text and image relative to each other.

ToolTip

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

Trimming

Gets or sets how to trim characters that do not fit in the space available.

Visible

Gets or sets whether the item is visible.

Methods

Name Description
CreateView(Orientation)

Creates item view.

OnClick(NavItemEventArgs)

Rises the Click event.

OnDoubleClick(NavItemEventArgs)

Rises the DoubleClick event.

OnGotFocus(NavItemEventArgs)

Rises the GotFocus event.

OnLostFocus(NavItemEventArgs)

Rises the LostFocus event.

OnMouseDown(NavItemMouseEventArgs)

Rises the MouseDown event.

OnMouseEnter(NavItemEventArgs)

Rises the MouseEnter event.

OnMouseLeave(NavItemEventArgs)

Rises the MouseLeave event.

OnMouseMove(NavItemMouseEventArgs)

Rises the MouseMove event.

OnMouseUp(NavItemMouseEventArgs)

Rises the MouseUp event.

OnPaint(NavItemPaintEventArgs)

Rises the Paint event.

OnPropertyChanged(PropertyChangedEventArgs)

Rises the PropertyChanged event.

ResetEnabled()

Restores the default value of the Enabled property.

ResetIcon()

Restores the default value of the Icon property.

ResetText()

Restores the default value of the Text property.

ResetToolTip()

Restores the default value of the ToolTip property.

SetProperty<T>(ref T, T, string)

Sets the specified property value.

ShouldSerializeEnabled()

Specifies whether to save the value of the Enabled property.

ShouldSerializeIcon()

Specifies whether to save the value of the Icon property.

ShouldSerializeText()

Specifies whether to save the value of the Text property.

ShouldSerializeToolTip()

Specifies whether to save the value of the ToolTip property.

Events

Name Description
Click

Occurs when the item is clicked.

DoubleClick

Occurs when the item is double clicked.

GotFocus

Occurs when the item receives focus.

LostFocus

Occurs when the item loses focus.

MouseDown

Occurs when the mouse pointer is over the item and a mouse button is pressed.

MouseEnter

Occurs when the mouse pointer enters the item.

MouseLeave

Occurs when the mouse pointer leaves the item.

MouseMove

Occurs when the mouse pointer is moved over the item.

MouseUp

Occurs when the mouse pointer is over the item and a mouse button is released.

Paint

Occurs when the item is redrawn.

PropertyChanged

Occurs when the item property is changed.