Skip to main content
A newer version of this page is available. .
Tab

RibbonTemplateItem Class

A ribbon item used to display the templated item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public class RibbonTemplateItem :
    RibbonItemBase

The following members 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