Skip to main content

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.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public RadialMenuContainerItemAutoSize GetAutoSize(
    BarItem item


Name Type Description
item BarItem

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


Type Description

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


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