Back to Devexpress

RibbonSpinEditItem Class

aspnet-devexpress-dot-web-04dc59b0.md

latest2.9 KB
Original Source

RibbonSpinEditItem Class

A ribbon item used to display the spin edit functionality.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class RibbonSpinEditItem :
    RibbonEditItemBase
vb
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.

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

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem RibbonItemBase RibbonEditItemBase RibbonSpinEditItem BootstrapRibbonSpinEditItem

See Also

RibbonSpinEditItem Members

Ribbon

Item Types

DevExpress.Web Namespace