Share via


Dir Property

The Dir property of the WebPart class gets or sets the direction of the reading order for a Web Part's text and frame. Setting this value overrides the value specified for the System.Web.UI.Page.Culture property.

Property Value

A Direction enumeration value that specifies the language direction for the content text and Web Part frame. The default value is determined by the value of the system Culture property.

Remarks

This property can be personalized by individual users. Its WebPartStorageAttribute value is Storage.Personal, which specifies that the property can be stored on a per user basis. Only users with the Personalize Web Part pages right can set this property. It can be set programmatically, or it can be set through the Web Part task pane in the Personal view of the web-based user interface, or by using a SharePoint-compatible HTML editor, such as Microsoft FrontPage.

Requirements

Platforms: Windows Server 2003

Security: Code Access Security