Skip to main content

NavBarItemLink Members

A link to a NavBarItem.

Constructors

Name Description
NavBarItemLink(NavBarItem) Creates an instance of the NavBarItemLink class.

Properties

Name Description
AllowAutoSelect Gets or sets whether the auto-selection feature is enabled for the current link. This property is in effect in LinkSelectionModeType.OneInGroupAndAllowAutoSelect mode for the Navigation Pane and the Side Bar Views.
AllowHtmlString Gets whether the caption of the element to which the current link corresponds is formatted using HTML tags.
Caption Gets the link’s caption.
Enabled Gets a value indicating whether the link responds to user actions.
Group Gets an object representing the group to which a link corresponds.
Item Gets an object representing the item to which the link corresponds.
ItemName Gets the name of the item to which the link corresponds.
NavBar Returns the NavBarControl control to which the link belongs.
State Gets the state of the link.
Visible Gets or sets a value specifying whether the link is visible.
VisibleCore This member supports the internal infrastructure and is not intended to be used directly from your code.

Methods

Name Description
Dispose() Releases all resources used by this NavBarItemLink object.
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.
GetImage() Gets the image currently displayed within the NavBarItemLink.
GetImageSize() Returns the width and height of the image displayed within the NavBarItemLink.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PerformClick() Simulates the Click event for the current object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
ItemChanged Fires when the link’s properties change.
VisibleChanged Fires immediately after the visibility of the item link has been changed.
See Also