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

AutoHideGroup.GetAutoHideSize(DependencyObject) Method

Gets the auto-hide size for a specific object.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.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