Back to Devexpress

RibbonTextBoxItem Class

aspnet-devexpress-dot-web-284f090d.md

latest2.8 KB
Original Source

RibbonTextBoxItem Class

A ribbon item used to display the text box functionality.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public class RibbonTextBoxItem :
    RibbonEditItemBase
vb
Public Class RibbonTextBoxItem
    Inherits RibbonEditItemBase

Remarks

The RibbonTextBoxItem object is a ribbon item that implements the text box functionality. The item’s settings can be accessed and customized using the RibbonTextBoxItem.PropertiesTextBox property.

When the RibbonTextBoxItem value is changed, the client-side ASPxClientRibbon.CommandExecuted event is raised. You can use the ASPxClientRibbonCommandExecutedEventArgs.item argument property to determine the item related to the event. The ASPxClientRibbonCommandExecutedEventArgs.parameter argument property returns the new text box value.

aspx
<dx:RibbonTextBoxItem Name="TextBox" Text="Style Name">
     <PropertiesTextBox NullText="Style Name">
     </PropertiesTextBox>
</dx:RibbonTextBoxItem>

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

Implements

IStateManager

IPropertiesOwner

IExpressionsAccessor

Inheritance

Object StateManager CollectionItem RibbonItemBase RibbonEditItemBase RibbonTextBoxItem BootstrapRibbonTextBoxItem

See Also

RibbonTextBoxItem Members

Ribbon

Item Types

DevExpress.Web Namespace