Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RecentPanelBase.MovePinnedItemsUp Property

Gets or sets whether or not pinned RecentPinItems within this panel should automatically move up.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool MovePinnedItemsUp { get; set; }

#Property Value

Type Default Description
Boolean true

true if pinned RecentPinItems within this panel should automatically move up; otherwise, false.

#Remarks

End-users can pin RecentPinItems at runtime if these display their pin buttons (see the RecentPinItem.PinButtonVisibility property). By default, pinned items start moving up, seeking any element within this panel that is neither a RecentSeparatorItem nor another RecentPinItem. When such an element is found, the pinned item arranges itself below this element. A stack of pinned items also automatically adds a separator below itself.

To disable this default behavior, set the MovePinnedItemsUp property to false. You can handle the RecentPinItem.PinButtonCheckedChanged event and use the RecentPinItem.PinButtonChecked property to implement your own custom behavior that will suit your needs.

See the Recent Item Control topic to learn more.

See Also