Skip to main content
Bar

BarItemLinkBase Properties

Represents the base class for bar item links.
Name Description
ActualContent Gets an object that represents the actual data for the bar item link. This is a dependency property.
ActualContentTemplate Gets the actual content template for the current BarItemLinkBase object. This is a dependency property.
ActualDescription Gets the actual description for the current BarItemLinkBase object. This is a dependency property.
ActualHint Gets the actual hint for the current BarItemLinkBase object. This is a dependency property.
ActualIsVisible

Returns whether the link is actually visible. This is a dependency property.

ActualRibbonStyle For internal use only.
ActualSuperTip Gets the actual SuperTip object for the current BarItemLinkBase object. This is a dependency property.
Alignment Gets or sets the alignment of the current link, when it is displayed within a bar.
AllowDrop Gets or sets a value that indicates whether this element can be used as the target of a drag-and-drop operation. Inherited from ContentElement.
Altitude This member supports the internal infrastructure, and is not intended to be used directly from your code. This is a dependency property.
AreAnyTouchesCaptured Gets a value that indicates whether at least one touch is captured to this element. Inherited from ContentElement.
AreAnyTouchesCapturedWithin Gets a value that indicates whether at least one touch is captured to this element or to any child elements in its visual tree. Inherited from ContentElement.
AreAnyTouchesDirectlyOver Gets a value that indicates whether at least one touch is pressed over this element. Inherited from ContentElement.
AreAnyTouchesOver Gets a value that indicates whether at least one touch is pressed over this element or any child elements in its visual tree. Inherited from ContentElement.
BarItemDisplayMode Gets or sets the link’s paint style. This is a dependency property.
BarItemName Gets or sets the name of the bar item to which the current link refers. This is a dependency property.
BindingGroup Gets or sets the BindingGroup that is used for the element. Inherited from FrameworkContentElement.
CommandBindings Gets a collection of CommandBinding objects that are associated with this element. Inherited from ContentElement.
CommonBarItemCollectionLink For internal use.
ContextMenu Gets or sets the context menu element that should appear whenever the context menu is requested via user interface (UI) from within this element. Inherited from FrameworkContentElement.
CreatedByCustomizationDialog Gets or sets whether this link was created by an end-user during runtime customization.
Cursor Gets or sets the cursor that displays when the mouse pointer is over this element. Inherited from FrameworkContentElement.
CustomGlyphSize Gets or sets the size of the associated BarItem‘s glyph. This property affects the glyph size if the BarItem.GlyphSize property is set to Custom. This is a dependency property.
CustomResources

Gets or sets custom resources for the current link. This is a dependency property.

DataContext Gets or sets the data context for an element when it participates in data binding. Inherited from FrameworkContentElement.
DefaultStyleKey protected Gets or sets the key to use to find the style template for this control in themes. Inherited from FrameworkContentElement.
DependencyObjectType Gets the DependencyObjectType that wraps the CLR type of this instance. Inherited from DependencyObject.
Description Gets or sets the bar item’s description. This is a dependency property.
DescriptionTemplate Gets or sets a template for the current object’s Description. This is a dependency property.
Dispatcher Gets the Dispatcher this DispatcherObject is associated with. Inherited from DispatcherObject.
Focusable Gets or sets a value that indicates whether the element can receive focus. Inherited from ContentElement.
FocusVisualStyle Gets or sets an object that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus. Inherited from FrameworkContentElement.
ForceCursor Gets or sets a value indicating whether this FrameworkContentElement should force the user interface (UI) to render the cursor as declared by this instance’s Cursor property. Inherited from FrameworkContentElement.
HasAnimatedProperties Gets a value that indicates whether this element has any animated properties. Inherited from ContentElement.
HasHint Gets whether a hint can be displayed for the current bar item link. This is a dependency property.
HasKeyGesture Gets whether a valid object is assigned to the BarItem.KeyGesture property. This is a dependency property.
HoldersIsVisible This member supports the internal infrastructure, and is not intended to be used directly from your code. This is a dependency property.
Index

Gets or sets the item’s index. This is a dependency property.

InputBindings Gets the collection of input bindings that are associated with this element. Inherited from ContentElement.
InputScope Gets or sets the context for input used by this FrameworkContentElement. Inherited from FrameworkContentElement.
IsEnabled Gets or sets a value that indicates whether this element is enabled in the user interface (UI). Inherited from ContentElement.
IsFocused Gets a value that determines whether this element has logical focus. Inherited from ContentElement.
IsInitialized Gets a value indicating whether this element has been initialized, either by being loaded as Extensible Application Markup Language (XAML), or by explicitly having its EndInit() method called. Inherited from FrameworkContentElement.
IsInputMethodEnabled Gets a value that indicates whether an input method system, such as an Input Method Editor (IME), is enabled for processing the input to this element. Inherited from ContentElement.
IsKeyboardFocused Gets a value that indicates whether this element has keyboard focus. Inherited from ContentElement.
IsKeyboardFocusWithin Gets a value that indicates whether keyboard focus is anywhere within the element or child elements. Inherited from ContentElement.
IsLinkEnabled This member supports the internal infrastructure, and is not intended to be used directly from your code.
IsLinkInApplicationMenu Indicates whether the current BarItemLinkBase is located within the application menu.
IsLinkInBar Gets whether the current BarItemLinkBase is located within a Bar.
IsLinkInBarButtonGroup Indicates whether the current BarItemLinkBase is located within a BarButtonGroup.
IsLinkInDropDownGallery Indicates whether the current BarItemLinkBase is located within a gallery.
IsLinkInMenu Indicates whether the current BarItemLinkBase is located within the opened menu.
IsLinkInRibbon Indicates whether the current BarItemLinkBase is located within a RibbonControl.
IsLinkInRibbonPageGroup Indicates whether the current BarItemLinkBase is located within a RibbonPageGroup.
IsLinkInRibbonPageHeader Indicates whether the current BarItemLinkBase is located within a RibbonPage header.
IsLinkInRibbonQuickAccessToolbar Indicates whether the current BarItemLinkBase is located within a Ribbon Quick Access Toolbar.
IsLinkInStatusBar Indicates whether the current BarItemLinkBase is located within a Ribbon Status Bar.
IsLoaded Gets a value indicating whether this element has been loaded for presentation. Inherited from FrameworkContentElement.
IsMouseCaptured Gets a value that indicates whether the mouse is captured by this element. Inherited from ContentElement.
IsMouseCaptureWithin Gets a value that determines whether mouse capture is held by this element or by child elements in its element tree. Inherited from ContentElement.
IsMouseDirectlyOver Gets a value that indicates whether the position of the mouse pointer corresponds to hit test results, which take element compositing into account. Inherited from ContentElement.
IsMouseOver Gets a value that indicates whether the mouse pointer is located over this element (including visual child elements, or its control compositing). Inherited from ContentElement.
IsPrivate This member supports the internal infrastructure, and is not intended to be used directly from your code.
IsRemoved

This member supports the internal infrastructure, and is not intended to be used directly from your code. This is a dependency property.

IsSealed Gets a value that indicates whether this instance is currently sealed (read-only). Inherited from DependencyObject.
IsStylusCaptured Gets a value that indicates whether the stylus is captured to this element. Inherited from ContentElement.
IsStylusCaptureWithin Gets a value that determines whether stylus capture is held by this element, including child elements and control compositing. Inherited from ContentElement.
IsStylusDirectlyOver Gets a value that indicates whether the stylus position corresponds to hit test results, which take element compositing into account. Inherited from ContentElement.
IsStylusOver Gets a value that indicates whether the stylus is located over this element (including visual child elements). Inherited from ContentElement.
Item Gets the item to which the current link refers.
KeyGestureText Gets the text representation of the object assigned to the BarItem.KeyGesture property. This is a dependency property.
KeyTip Gets or sets the Key Tip used to invoke the bar item link’s functionality. This is a dependency property.
KeyTipDropDown Gets or sets the Key Tip used to open a dropdown control associated with a bar item link. This key tip is displayed only for links that belong to a sub-menu or Application Menu. This is a dependency property.
Language Gets or sets localization/globalization language information that applies to an individual element. Inherited from FrameworkContentElement.
LinkControl Refers to the first LinkControl object which visualizes the current link on-screen. This property makes sense for links within a BarLinkContainerItem.
LinkInfos This member supports the internal infrastructure, and is not intended to be used directly from your code.
Links Gets the link collection that owns the current object.
LinkTypeName Returns the bar item link’s type name. This member supports the internal infrastructure, and is not intended to be used directly from your code.
LogicalChildren protected Gets an enumerator for the logical child elements of this element. Inherited from FrameworkContentElement.
MergeOrder Defines the visual position of the bar item link after merging bars/link containers into a parent BarManager.
MergeType Gets or sets how the item link behaves during merge operations.
Name Gets or sets the identifying name of the element. The name provides an instance reference so that programmatic code-behind, such as event handler code, can refer to an element once it is constructed during parsing of XAML. Inherited from FrameworkContentElement.
OverrideItemDataContext

Gets or sets if a BarItemLink should use a custom DataContext instead of a DataContext passed from a parent BarItem. This is a dependency property.

OverridesDefaultStyle Gets or sets a value indicating whether this element incorporates style properties from theme styles. Inherited from FrameworkContentElement.
Parent Gets the parent in the logical tree for this element. Inherited from FrameworkContentElement.
Resources Gets or sets the current locally-defined resource dictionary. Inherited from FrameworkContentElement.
RibbonStyle Gets or sets the options that specify the bar item link’s possible states within a RibbonControl. This is a dependency property.
SectorIndex Gets or sets the index of the sector in which the current bar item link is displayed. This is a dependency property.
ShowKeyGesture Gets or sets whether an associated key shortcut is visible for the current item link (if it is displayed in a menu). This is a dependency property.
ShowScreenTip Gets or sets whether the current BarItemLinkBase should display its tip. This is a dependency property.
Style Gets or sets the style to be used by this element. Inherited from FrameworkContentElement.
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element. Inherited from FrameworkContentElement.
TemplatedParent Gets a reference to the template parent of this element. This property is not relevant if the element was not created through a template. Inherited from FrameworkContentElement.
ToolTip Gets or sets the tool-tip object that is displayed for this element in the user interface (UI). Inherited from FrameworkContentElement.
TouchesCaptured Gets all touch devices that are captured to this element. Inherited from ContentElement.
TouchesCapturedWithin Gets all touch devices that are captured to this element or any child elements in its visual tree. Inherited from ContentElement.
TouchesDirectlyOver Gets all touch devices that are over this element. Inherited from ContentElement.
TouchesOver Gets all touch devices that are over this element or any child elements in its visual tree. Inherited from ContentElement.
UseLightweightTemplates Gets or sets whether to enable optimized mode for this link. This is a dependency property.
UserContent Gets or sets the link’s Content, defined by an end-user. This is a dependency property.
UserGlyphAlignment Gets or sets the alignment of the link’s glyph, defined by an end-user. This is a dependency property.
UserGlyphSize Gets or sets the size of the link’s glyph, defined by an end-user. This is a dependency property.
VerticalAlignment Gets or sets the current BarItemLink‘s vertical alignment within the parent container. This is a dependency property.
See Also