Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

SplitterItem.SizeConstraintsType Property

Gets or sets the size constraints type. This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public override SizeConstraintsType SizeConstraintsType { get; }

#Property Value

Type Description
SizeConstraintsType

A SizeConstraintsType enumeration value which specifies the manner in which the item can be resized. The default is SizeConstraintsType.Default.

Available values:

Name Description
Default

Default size constraints are applied to the layout item and its control. The default size constraints are determined automatically depending upon the type of its control.

SupportHorzAlignment

This mode is designed to support horizontal alignment of the controls that implement the automatic sizing feature, when they are displayed within a LayoutControl. A layout item’s maximum and minimum sizes are determined automatically. To custom align a control, set its AutoSizeInLayoutControl property to true and specify the control’s alignment via the LayoutControlItem.ContentHorzAlignment property. See Size and Alignment to learn more.

Custom

A layout item’s size can be changed within the range which is specified by the LayoutControlItem.MinSize and LayoutControlItem.MaxSize properties.

See Also