Skip to main content

NavElement Members

Implements the common functionality of groups and items.

Constructors

Name Description
NavElement() Creates an instance of the NavElement class.

Fields

Name Description
DefaultImageSize static Stores the original size of an image assigned to the NavElement.LargeImage or NavElement.SmallImage property.

Properties

Name Description
AllowGlyphSkinning Gets or sets whether the current NavElement‘s icon should be painted in this item’s foreground color.
AllowHtmlString Gets or sets whether the element’s caption is formatted using HTML tags.
Appearance Gets the appearance settings used to paint the element.
AppearanceHotTracked Gets the appearance settings used to paint the current element when it’s hot-tracked.
AppearancePressed Gets the appearance settings used to paint the element when it’s pressed.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Caption Gets or sets the element’s caption.
Container Gets the IContainer that contains the Component. Inherited from Component.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Hint Gets or sets the element’s hint text.
ImageOptions Provides 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 Specifies the large image displayed within the element.
LargeImageIndex Specifies 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 Gets or sets 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 Specifies the small image displayed within the element.
SmallImageIndex Specifies 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 Gets or sets 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

Name Description
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) static Determines 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) protected Returns 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() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines 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

Name Description
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ItemChanged Fires when item property values are changed. Inherited from ComponentCollectionItem.
See Also