Back to Devexpress

NavElement Members

windowsforms-devexpress-dot-xtranavbar-dot-navelement-dot-underscore-members.md

latest13.1 KB
Original Source

NavElement Members

Implements the common functionality of groups and items.

Constructors

NameDescription
NavElement()Creates an instance of the NavElement class.

Fields

NameDescription
DefaultImageSize staticStores the original size of an image assigned to the LargeImage or SmallImage option accessible in NavElement.ImageOptions.

Properties

NameDescription
AllowGlyphSkinningUse the AllowGlyphSkinning option accessible in NavElement.ImageOptions to specify whether the current NavElement‘s icon should be painted in this item’s foreground color.
AllowHtmlStringGets or sets whether the element’s caption is formatted using HTML tags.
AppearanceGets the appearance settings used to paint the element.
AppearanceHotTrackedGets the appearance settings used to paint the current element when it’s hot-tracked.
AppearancePressedGets the appearance settings used to paint the element when it’s pressed.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CaptionGets or sets the element’s caption.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
HintGets or sets the element’s hint text.
ImageOptionsProvides access to settings that allow you to set up raster and vector icons for this NavElement.
ImageUri

Gets or sets the uniform resource identifier of the image in the DX Image Gallery displayed in the current NavElement. A specific version of the addressed image is automatically chosen, based on the app context (the current skin and required image size).

| | LargeImage | Use the LargeImage option accessible in NavElement.ImageOptions to specify the large image displayed within the element. | | LargeImageIndex | Use the LargeImageIndex option accessible in NavElement.ImageOptions to specify the element’s large image by its index within the source image collection. | | LargeImages | Gets the source of the large images that can be displayed in the group headers and links. | | LargeImageSize | Use the LargeImageSize option accessible in NavElement.ImageOptions to get/set the size of the current NavElement‘s large image. | | Name | Gets or sets the item’s name. Inherited from ComponentCollectionItem. | | NavBar | Gets the control to which the element belongs. | | Site | Gets or sets the ISite of the Component. Inherited from Component. | | SmallImage | Use the SmallImage option accessible in NavElement.ImageOptions to specify the small image displayed within the element. | | SmallImageIndex | Use the SmallImageIndex option accessible in NavElement.ImageOptions to specify the element’s small image by its index within the source image collection. | | SmallImages | Gets the source of the small images that can be displayed in the group headers and links. | | SmallImageSize | Use the SmallImageSize option accessible in NavElement.ImageOptions to get/set the size for the current NavElement‘s small image. | | SuperTip | Gets or sets a super tool-tip for the current NavElement. | | Tag | Gets or sets data associated with the element. | | Visible | Gets or sets a value specifying the visibility of the element. |

Methods

NameDescription
CreateObjRef(Type)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
Dispose()Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetPreferredImageSize(Size, Boolean)This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetPreferredImageSize(Size)This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetService(Type) protectedReturns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType()Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService()Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ResetSuperTip()Removes the current NavElement‘s super tool-tip.
ToString()Returns the element’s full name.

Events

NameDescription
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ItemChangedFires when item property values are changed. Inherited from ComponentCollectionItem.

See Also

NavElement Class

DevExpress.XtraNavBar Namespace