Skip to main content

IButtonProperties.VisibleIndex Property

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

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

[DXCategory("Appearance")]
int VisibleIndex { get; set; }

Property Value

Type Description
Int32

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

Remarks

Default header buttons - Maximize, Auto Hide and Close - have VisibleIndexes 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:

Custom Header Buttons - Visible Index

See the Header Buttons topic to learn more.

See Also