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

TdxNavBarDefaultStyles.ButtonPressed Property

Specifies the style of a button element when it is pressed.

#Declaration

Delphi
property ButtonPressed: TdxNavBarDefaultStyle index 2 read; write;

#Property Value

Type
TdxNavBarDefaultStyle

#Remarks

Use the ButtonPressed property to access the default style settings of the pressed NavBar button element. Button elements are represented by the scroll buttons used to scroll a group’s client area when links don’t fit inside it. Scroll buttons are available in Side Bar Views only.

Note

Each View has its own default settings for default styles. That is why when changing the View applied to the control, the ButtonPressed property value is automatically set to the default pressed scroll buttons’ style specified by the newly assigned View.

You can also use the settings of a custom style (if any) to specify the appearance of the pressed button element. For this purpose, assign the style object represented by the custom style’s Style property to the ButtonPressed property.

See Also