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.v23.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