Skip to main content
A newer version of this page is available. .

StackPanel.GetStretched(Control) Method

Returns whether the control from the panel Controls collection occupies all available panel space.

Namespace: DevExpress.Utils.Layout

Assembly: DevExpress.Utils.v19.2.dll

Declaration

[DefaultValue(false)]
[DXCategory("Layout")]
public bool GetStretched(
    Control control
)

Parameters

Name Type Description
control Control

A Control whose stretch mode is to be obtained.

Returns

Type Default Description
Boolean **false**

true, if the control stretches; otherwise, false.

Remarks

See the StackPanel.SetStretched(Control, Boolean) method for more information.

See Also