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

XtraMdiTabPage.Pinned Property

Gets or sets whether this XtraMdiTabPage is currently pinned.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
public bool Pinned { get; set; }

#Property Value

Type Default Description
Boolean false

true if this XtraMdiTabPage is currently pinned; otherwise, false.

#Remarks

If a XtraMdiTabPage‘s IDocumentDefaultProperties.AllowPin property is set to true, this tab can be pinned by an end-user at runtime by clicking a Pin Button on the tab header. Pinned XtraMdiTabPages are automatically placed before unpinned tabs. Use the Pinned property to pin/unpin XtraMdiTabPages in code.

Pin Button visibility is specified via the XtraMdiTabPage.ShowPinButton property. You can also specify tab headers for which XtraMdiTabPages - activated only, activated and focused or all existing - should display their Pin Buttons. Use the XtraTabbedMdiManager.PinPageButtonShowMode property to do so.

See Also