Skip to main content
Tab

PagerButtonProperties.ShowDefaultText Property

Gets or sets a value that specifies which text value a pager button should display - a default (automatically localized) string or a string specified by using the button’s PagerButtonProperties.Text property.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public virtual bool ShowDefaultText { get; set; }

Property Value

Type Default Description
Boolean false

true to display a default localizable text; false to display the PagerButtonProperties.Text property value.

Property Paths

You can access this nested property as listed below:

Remarks

Use the ShowDefaultText property to define the manner of displaying the pager button text. The property’s possible values are listed below:

  • true - A pager button displays the default string value (the value of the corresponding constant declared in the ASPxperienceStringId class). This value can be localized automatically using satellite assemblies. The value assigned to the pager button’s PagerButtonProperties.Text property is ignored.
  • false - A pager button displays the value defined using the PagerButtonProperties.Text property. This value cannot be automatically localized. The default pager button value is ignored.

Note that the pager button text can be formatted for display using a format pattern defined by the PagerButtonProperties.TextFormatString property.

See Also