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

RadialMenu.GetAutoSize(BarItem) Method

Gets whether the specified BarItem is auto-sized when it belongs to a RadialMenu.

Namespace: DevExpress.XtraBars.Ribbon

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public RadialMenuContainerItemAutoSize GetAutoSize(
    BarItem item
)

#Parameters

Name Type Description
item BarItem

A BarItem object which indicates whether it is auto-sized.

#Returns

Type Description
DevExpress.XtraBars.Ribbon.RadialMenuContainerItemAutoSize

A RadialMenuContainerItemAutoSize enumeration value indicating whether the auto-size feature is enabled or disabled.

#Remarks

For BarItem objects belonging to the RadialMenu, the GetAutoSize method allows you to get a RadialMenuContainerItemAutoSize enumeration value that indicates whether the specified BarItem object is auto-sized.

To enable or disable the auto-size feature for a specific BarItem, use the RadialMenu.SetAutoSize method.

See RadialMenu.ItemAutoSize to learn more.

See Also