RadialMenu.SetAutoSize(BarItem, RadialMenuContainerItemAutoSize) Method
Sets 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
#Parameters
Name | Type | Description |
---|---|---|
item | Bar |
A Bar |
value | DevExpress. |
A Radial |
#Remarks
For BarItem objects belonging to a RadialMenu, the SetAutoSize method allows you to set whether the specified BarItem object is auto-sized. To specify whether the auto-size feature is enabled or disabled for all items in a radial menu or sub-menu, use the RadialMenu.ItemAutoSize property and the RadialMenu.SetItemAutoSize method, respectively.
The following image shows a sample RadialMenu where the BarItems captioned Copy and Paste are auto-sized.
To get whether the auto-size feature is enabled or disabled for a specific BarItem, use the RadialMenu.GetAutoSize method.
See RadialMenu.ItemAutoSize to learn more.