DataGrid.CanUserResizeRows 属性

定义

获取或设置一个值,该值指示用户是否能使用鼠标调整行的高度。

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

属性值

Boolean

如果用户可更改行的高度,则为 true;否则为 false。 已注册的默认值为 true。 有关可以影响值的因素的更多信息,请参见 DependencyProperty

注解

此属性不会影响是否可以以编程方式更改行的高度,例如通过更改 RowHeight 属性。

适用于