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

RibbonTemplateItem Class

A ribbon item used to display the templated item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

public class RibbonTemplateItem :
    RibbonItemBase
Public Class RibbonTemplateItem
    Inherits RibbonItemBase

Related API Members

The following members accept/return RibbonTemplateItem objects:

Remarks

The RibbonTemplateItem object is a ribbon item that allows you to provide a custom item template.

ASPxRibbon_TemplateItem

<dx:RibbonTemplateItem Size="Large">
     <Template>
          <table>
               <tr>
                    <td>
                         <dx:ASPxTextBox ID="ASPxTextBox1" runat="server" Width="450px">
                         </dx:ASPxTextBox>
                    </td>
                    <td>
                         <dx:ASPxButton ID="ASPxButton1" runat="server" Text="Search" Height="24" AutoPostBack="false">
                         </dx:ASPxButton>
                    </td>
               </tr>
          </table>
          <table>
               <tr>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox1" runat="server" Text="User tickets" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox2" runat="server" Text="Documentation" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox3" runat="server" Text="What's new" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox4" runat="server" Text="Website pages" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
               </tr>
               <tr>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox5" runat="server" Text="Code examples" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox6" runat="server" Text="Blogs" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox7" runat="server" Text="Forums" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
                    <td>
                         <dx:ASPxCheckBox ID="ASPxCheckBox8" runat="server" Text="TV channel" Checked="true">
                         </dx:ASPxCheckBox>
                    </td>
               </tr>
          </table>
     </Template>
</dx:RibbonTemplateItem>

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

See Also