Back to Devexpress

IButtonProperties.VisibleIndex Property

windowsforms-devexpress-dot-xtraeditors-dot-buttonpanel-dot-ibuttonproperties-a73569c3.md

latest2.3 KB
Original Source

IButtonProperties.VisibleIndex Property

Gets or sets the current IButton object’s relative position.

Namespace : DevExpress.XtraEditors.ButtonPanel

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DXCategory("Appearance")]
int VisibleIndex { get; set; }
vb
<DXCategory("Appearance")>
Property VisibleIndex As Integer

Property Value

TypeDescription
Int32

An Int32 value specifying the current IButton object’s relative position.

|

Remarks

Default header buttons - Maximize, Auto Hide and Close - have VisibleIndex es equal to 100 , 101 and 102 respectively. Custom header b with the VisibleIndex property values of 0 to 99 will be shown to the left of default buttons. All custom buttons whose VisibleIndex property value exceeds 102 will be shown to the right of default buttons. The figure below illustrates default and custom button interplay:

See the Header Buttons topic to learn more.

See Also

Header Buttons

IButtonProperties Interface

IButtonProperties Members

DevExpress.XtraEditors.ButtonPanel Namespace