Skip to main content

AutoHideGroup.SetAutoHideSize(DependencyObject, Size) Method

Sets the auto-hide size for a specific object.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v23.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public static void SetAutoHideSize(
    DependencyObject target,
    Size value
)

Parameters

Name Type Description
target DependencyObject

A DependencyObject whose auto-size is to be set.

value Size

A System.Windows.Size object that is the new object’s auto-hide size.

Remarks

LayoutPanels contained within an AutoHideGroup are displayed when panel tab captions are hovered or clicked at runtime. In this case, the auto-hidden panel is expanded according to the size specified via the SetAutoHideSize method. If the target parameter is a panel, the SetAutoHideSize method specifies only this panel’s size. If the target is an AutoHideGroup, all panels within this group are affected.

Use the AutoHideGroup.GetAutoHideSize method to get the actual auto-hide size of an object.

See Also