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

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.2.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