Skip to main content

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.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

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