Skip to main content

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.v23.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