Skip to main content
Tab

SplitterPane.AutoWidth Property

Specifies whether to adjust the pane width to its content.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v25.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(false)]
public bool AutoWidth { get; set; }

Property Value

Type Default Description
Boolean false

true to adjust the pane width to its content; otherwise, false

Remarks

A splitter pane trims content that does not fit the pane. Enable a horizontal pane’s AutoWidth property to adjust the pane width to the content. Once enabled, the pane ignores SplitterPane.Size property value and ASPxClientSplitterPane.SetSize method calls.

Note

A horizontal pane cannot obtain the content size if you specify the SplitterPane.ContentUrl property. In this case, you should not enable the AutoWidth property as auto sizing may work incorrectly.

See Also