TreeView.RightToLeftLayout 属性

定义

获取或设置一个值,该值指示 TreeView 是否应从右向左布局。Gets or sets a value that indicates whether the TreeView should be laid out from right-to-left.

public:
 virtual property bool RightToLeftLayout { bool get(); void set(bool value); };
public virtual bool RightToLeftLayout { get; set; }
member this.RightToLeftLayout : bool with get, set
Public Overridable Property RightToLeftLayout As Boolean

属性值

Boolean

如果指示控件应该从右向左布局,则为 true;否则为 falsetrue if the control should be laid out from right-to-left; otherwise, false. 默认值为 falseThe default is false.

注解

RightToLeftLayout属性用于从右到左读取语言的国际应用程序。The RightToLeftLayout property is for use with international applications where the language is read from right-to-left. 如果将 RightToLeftLayout 和设置 RightToLeft 为,则 true 控件的内容和文本将从右到左布局。If you set RightToLeftLayout and RightToLeft to true the control's contents and text will be laid out from right-to-left.

适用于