Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > How to create RadRichTextBoxRibbonUI dynamically in C#/VB

Not answered How to create RadRichTextBoxRibbonUI dynamically in C#/VB

Feed from this thread
  • york zhang avatar

    Posted on Jan 31, 2012 (permalink)

    Hi,
    I have created a RadRichTextBox with RadRichTextBoxRibbonUI  in it, the xaml code is (auto-generated for word processor option),
      <telerik:RadRichTextBox Grid.Row="1" HorizontalAlignment="Stretch" IsContextMenuEnabled="True" IsSelectionMiniToolBarEnabled="True" IsSpellCheckingEnabled="True" LayoutMode="Paged" Name="radRichTextBox1" />
             <telerik:RadRichTextBoxRibbonUI BackstageClippingElement="{Binding ElementName=gridRadRtbParent}" CollapseThresholdSize="50,50" DataContext="{Binding Path=Commands, ElementName=radRichTextBox1}" ApplicationName="Edit Letters">
                            <telerik:RadRichTextBoxRibbonUI.QuickAccessToolBar>
                                <telerik:QuickAccessToolBar>
                                </telerik:QuickAccessToolBar>
                            </telerik:RadRichTextBoxRibbonUI.QuickAccessToolBar>
                            <telerik:RadRibbonTab Header="Home">
                            </telerik:RadRibbonTab>
    ...
    I want to know how to create the entire RadRichTextBoxRibbonUI set when creating RadRichTextBox dynamically in C# or VB. Also how to access RadRichTextBoxRibbonUI's ApplicationName field by RadRichTextBox Name: radRichTextBox1 in C# or VB program so that I can change the caption of radRichTextBox1.

    Thanks,
    York

    Reply

  • Boby Boby admin's avatar

    Posted on Feb 2, 2012 (permalink)

    Hello York Zhang,
    We will use the other thread you opened.

    All the best,
    Boby
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > RibbonBar > How to create RadRichTextBoxRibbonUI dynamically in C#/VB