Skip to main content

AutoHideGroup.GetAutoHideSize(DependencyObject) Method

Gets the auto-hide size for a specific object.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public static Size GetAutoHideSize(
    DependencyObject target
)

Parameters

Name Type Description
target DependencyObject

A DependencyObject whose auto-size is to be obtained.

Returns

Type Description
Size

A System.Windows.Size object that is the 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 AutoHideGroup.SetAutoHideSize method. Use the GetAutoHideSize method to obtain the current auto-hide size of the desired object.

See Also