Skip to main content
Tab

RibbonSpinEditItem Class

A ribbon item used to display the spin edit functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

public class RibbonSpinEditItem :
    RibbonEditItemBase

Remarks

The RibbonSpinEditItem object is a ribbon item that implements the spin edit functionality. The item’s settings can be accessed and customized using the RibbonSpinEditItem.PropertiesSpinEdit property.

When the RibbonSpinEditItem value is changed, the client-side ASPxClientRibbon.CommandExecuted event is raised. You can use the ASPxClientRibbonCommandExecutedEventArgs.item argument property to determine the clicked item. The ASPxClientRibbonCommandExecutedEventArgs.parameter argument property returns the new spin edit value.

ASPxRibbon_SpinItem

<dx:RibbonSpinEditItem Name="Font Size">
     <PropertiesSpinEdit DisplayFormatString="g" MaxValue="18" MinValue="10" NullText="Font Size">
     </PropertiesSpinEdit>
</dx:RibbonSpinEditItem>

To learn more about ribbon item types, see the Item Types topic.

See Also