다음을 통해 공유


TextDirection Enumeration

Indicates the direction of characters in the grid control.

Namespace:  Microsoft.SharePoint.JSGrid
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Enumeration TextDirection
'Usage
Dim instance As TextDirection
public enum TextDirection

Members

Member name Description
Default The default text direction.
RightToLeft Represents a right to left text direction.
LeftToRight Represents a left to right text direction.

Remarks

The JS Grid controlTextDirection enumeration specifies the direction text is displayed. The choices are as follows:

  1. Default   Default text direction.

  2. RightToLeft   Right to left text direction.

  3. LeftToRight   Left to right text direction.

The TextDirection property works with the locale ID (LCID) property to deliver a regionally appropriate grid or Gantt: Setting LCID for the control passes the indicated LCID to the grid panes. The grid pane passes the LCID to the columns.

Example:

gf.EditMode = TextDirection.RightToLeft;
gf.EditMode = TextDirection.RightToLeft

Note

Date columns are an exception to this behavior: A date column displays the dates and date picker formatted for the input LCID.

See Also

Reference

Microsoft.SharePoint.JSGrid Namespace