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

OptionsMinimizing.PopupFormAutoHeightMode Property

Gets or sets whether the pop-up form fits the content or has a predefined fixed height.

Namespace: DevExpress.XtraBars.Navigation

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(AccordionPopupFormAutoHeightMode.Default)]
public AccordionPopupFormAutoHeightMode PopupFormAutoHeightMode { get; set; }

#Property Value

Type Default Description
AccordionPopupFormAutoHeightMode Default

A value that specifies whether the pop-up form fits the content or has a predefined fixed height.

Available values:

Name Description
Default

The mode is not specified explicitly. Enables the None mode.

None

The pop-up form has a predefined fixed height. The height does not depend on the content, panert form, etc.

image

FitContent

The pop-up form height matches the content height.

image

#Property Paths

You can access this nested property as listed below:

Object Type Path to PopupFormAutoHeightMode
AccordionControl
.OptionsMinimizing .PopupFormAutoHeightMode

#Remarks

If the control is minimized (see AccordionControl.OptionsMinimizing.State), it displays a pop-up form when the user clicks an element.

image

You can use the AccordionControl.OptionsMinimizing.PopupFormAutoHeightMode property to specify how the control calculates the form height.

To open the pop-up form in code, call the ShowPopupForm method. For instance, you can open the form when the mouse pointer hovers an item. To check if the form is already displayed, use the IsPopupFormShown property. To close the form, call the ClosePopupForm() method.

See Also