Back to Devexpress

RecentPanelBase.MovePinnedItemsUp Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentpanelbase-715f69b2.md

latest2.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
[DXCategory("Behavior")]
public bool MovePinnedItemsUp { get; set; }
vb
<DefaultValue(True)>
<DXCategory("Behavior")>
Public Property MovePinnedItemsUp As Boolean

Property Value

TypeDefaultDescription
Booleantrue

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

Recent Item Control

RecentPanelBase Class

RecentPanelBase Members

DevExpress.XtraBars.Ribbon Namespace