Back to Devexpress

ASPxWebControl.GlobalRightToLeft Property

aspnet-devexpress-dot-web-dot-aspxwebcontrol-89cc3b07.md

latest2.4 KB
Original Source

ASPxWebControl.GlobalRightToLeft Property

Gets or sets that the right-to-left orientation shall be globally applied to all DevExpress web controls across the web page or the entire web site.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public static DefaultBoolean GlobalRightToLeft { get; set; }
vb
Public Shared Property GlobalRightToLeft As DefaultBoolean

Property Value

TypeDescription
DefaultBoolean

One of the DefaultBoolean enumeration values.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

Use the GlobalRightToLeft property to apply the selected right-to-left orientation to all DevExpress web controls within the web page or the entire web site. If the GlobalRightToLeft property is not specified (is set to Default ), it returns the rightToLeft Web.config option value.

Depending on your application needs, you can use the GlobalRightToLeft property at different levels within your application. The main requirement is that the property should be explicitly assigned on executing each request.

  • Page Level

  • Application Level - in Global.asax

refer to the Right to Left Support help topic to learn more.

See Also

Right to Left Support

Right to Left Support

ASPxWebControl Class

ASPxWebControl Members

DevExpress.Web Namespace