Back to Devexpress

XtraMdiTabPage.AllowPin Property

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtramditabpage-c4f62af9.md

latest2.6 KB
Original Source

XtraMdiTabPage.AllowPin Property

Gets or sets whether the current XtraMdiTabPage can be pinned.

Namespace : DevExpress.XtraTabbedMdi

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(true)]
public virtual bool AllowPin { get; set; }
vb
<DefaultValue(True)>
Public Overridable Property AllowPin As Boolean

Property Value

TypeDefaultDescription
Booleantrue

true if the current XtraMdiTabPage can be pinned; otherwise, false.

|

Remarks

If a XtraMdiTabPage‘s 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 XtraMdiTabPage.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

Pinned

ShowPinButton

PinPageButtonShowMode

XtraMdiTabPage Class

XtraMdiTabPage Members

DevExpress.XtraTabbedMdi Namespace