Skip to main content
A newer version of this page is available. .

NavigatorBase.TextLocation Property

Gets or sets a value specifying the location of the text displayed within the navigator.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(NavigatorButtonsTextLocation.None)]
[SmartTagProperty("Text Location", "")]
public virtual NavigatorButtonsTextLocation TextLocation { get; set; }

Property Value

Type Default Description
NavigatorButtonsTextLocation **None**

A NavigatorButtonsTextLocation enumeration member specifying the text location.

Available values:

Name Description
None

The text is not displayed.

TextLocation_None

Begin

The text is displayed on the left of the buttons, if the RightToLeft property value is false. Otherwise, the text is displayed on the right of the buttons.

TextLocation_Begin

End

The text is displayed on the right of the buttons, if the RightToLeft property value is false. Otherwise, the text is displayed on the left of the buttons.

TextLocation_End

Center

The text is displayed between Prev and Next buttons of the DataNavigator control.

TextLocation_Center

Remarks

Navigators can display text indicating the current record and the total number of records in the data source.

DataNavigator

Use the TextLocation property to specify the text location within the control. The text is not displayed if the property is set to a NavigatorButtonsTextLocation.None value. Members of the NavigatorButtonsTextLocation enumeration represent the available text location types.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextLocation property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also