Skip to main content

AutoHideContainer Class

Represents an auto hide container.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public class AutoHideContainer :
    ZIndexControl

The following members return AutoHideContainer objects:

Remarks

The AutoHideContainer class represents auto hide containers which are used to hold auto hidden dock panels. Auto hide containers are located along the edges of the form (or user control) which displays the dock panels created by the current dock manager. So the form can display up to a maximum of four auto hide containers along its sides (left, top, right, bottom).

CD_AutoHideContainers

Instances of the AutoHideContainer class are created and destroyed dynamically. An auto hide container is created automatically after the dock panel’s auto hiding functionality has been enabled. The auto hide container is docked to the same side of the form as the dock panel is docked to. The container’s AutoHideContainer.Position property indicates the form’s side along which it is aligned.

The auto hide container can hold several dock panels which can be accessed using index notation via the AutoHideContainer.Item property. The total number of dock panels in the auto hide container is returned by the AutoHideContainer.Count property.

The auto hide container is destroyed when the auto hiding functionality of every dock panel on the form has been disabled.

Instances of this class can be accessed via the dock manager’s DockManager.AutoHideContainers property.

See Also