Skip to main content

ASPxNewsControl.ShowBackToTop Property

Gets or sets whether to show a link, that when clicked navigates an end-user to the top of the page.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v22.2.dll

NuGet Package: DevExpress.Web


public bool ShowBackToTop { get; set; }

Property Value

Type Default Description
Boolean false

true to show the Back to top link; otherwise, false.


The ShowBackToTop property controls whether an end-user can immediately navigate to the top of the current page. If the ShowBackToTop property is set to true, the Back to top link is displayed within items. A click on this link navigates the user to the top of the page. To provide custom text for this link, use the ASPxNewsControl.BackToTopText property. It’s also possible to display an image before this link. To do this, use the ASPxNewsControl.BackToTopImage property.

See Also