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

IButtonProperties.VisibleIndex Property

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

Namespace: DevExpress.XtraEditors.ButtonPanel

Assembly: DevExpress.Utils.v24.2.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