Skip to main content

TdxNavBarDefaultStyles Class

Lists the default types of control elements to which individual styles can be assigned.

Declaration

TdxNavBarDefaultStyles = class(
    TcxOwnedPersistent
)

Remarks

The TdxNavBarDefaultStyles class is used to declare the stated types of NavBar elements whose appearance can be changed and to establish a connection between elements and styles. Styles of such predefined elements are called default styles of the NavBar control. The style of each element is specified by a property of the TdxNavBarDefaultStyles object. Each property provides access to a style object of the TdxNavBarDefaultStyle type whose settings control the appearance of the corresponding control element. To access a particular default style, use the DefaultStyles zero-based indexed collection.

Note that style settings of the stated NavBar control elements depend directly upon the View applied. Each View sets the elements’ style properties to the predefined values. After a certain View has been applied, you can change the appearance of the provided elements as your needs dictate using the TdxNavBarDefaultStyles object properties. The TdxNavBarDefaultStyles object can be accessed via the OptionsStyle.DefaultStyles property of the NavBar control.

Inheritance

See Also