Skip to main content

RecentPinItem.PinButtonVisibility Property

Gets or sets whether or not this RecentPinItem‘s pin button is visible.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(RecentPinButtonVisibility.AutoHidden)]
[DXCategory("Behavior")]
public RecentPinButtonVisibility PinButtonVisibility { get; set; }

Property Value

Type Default Description
DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility AutoHidden

A DevExpress.XtraBars.Ribbon.RecentPinButtonVisibility enumerator value that specifies whether or not this RecentPinItem‘s pin button is visible.

Remarks

Depending on the PinButtonVisibility property value, a pin button can be:

  • always visible;
  • always hidden;
  • visible only when end-users hover this item (default behavior).

Clicking the pin button at runtime anchors this RecentPinItem above neighboring unpinned RecentPinItems. Refer to the RecentPanelBase.MovePinnedItemsUp property description to learn more about this default behavior.

See Also