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.SetAutoHideSize(DependencyObject, Size) Method

Sets 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 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