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

RibbonTextBoxItem Class

A ribbon item used to display the text box functionality.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class RibbonTextBoxItem :
    RibbonEditItemBase
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.

ASPxRibbon_TextBoxItem

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

See Also