Back to Devexpress

PageSizeItemSettings.Caption Property

aspnet-devexpress-dot-web-dot-pagesizeitemsettings.md

latest2.1 KB
Original Source

PageSizeItemSettings.Caption Property

SECURITY-RELATED CONSIDERATIONS

Setting this property to values from an untrusted source may introduce security-related issues, since the property value is not encoded and is rendered as HTML markup. Call the HttpUtility.HtmlEncode method to encode the value.

Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Gets or sets the Page Size Item element’s caption.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public string Caption { get; set; }
vb
Public Property Caption As String

Property Value

TypeDescription
String

A String value that specifies the caption.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Caption
ASPxPagerBase

.PageSizeItemSettings .Caption

| | PagerSettingsEx |

.PageSizeItemSettings .Caption

|

See Also

Pager

PageSizeItemSettings Class

PageSizeItemSettings Members

DevExpress.Web Namespace