Tab
A newer version of this page is available. Switch to the current version.

RibbonSpinEditItem Class

A ribbon item used to display the spin edit functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class RibbonSpinEditItem :
    RibbonEditItemBase
Public Class RibbonSpinEditItem
    Inherits 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