Skip to main content
All docs
V26.1
  • 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.v26.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