Skip to main content

AutoHideGroup.SetSizeToContent(DependencyObject, SizeToContent) Method

Sets the auto-size behavior of the target Layout Panel.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.1.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public static void SetSizeToContent(
    DependencyObject target,
    SizeToContent value
)

Parameters

Name Type Description
target DependencyObject

A DependencyObject that is the Layout Panel whose auto-hide behavior is to be set.

value SizeToContent

A SizeToContent enumerator value that is the new auto-hide behavior of this Layout Panel.

Remarks

See the AutoHideGroup.SizeToContent property to learn more.

See Also