Hide LayoutModeSelectorName on the RadRichTextBoxStatusBar

3 posts, 0 answers
  1. Alan
    Alan avatar
    6 posts
    Member since:
    Jan 2013

    Posted 29 Apr 2014 Link to this post

    I have searched high an low and cannot figure out how to Hide the LayoutModeSelectorName  on the  RadRichTextBoxStatusBar.  I do not want my users switching to a different word layout in my application, how can I do this?

    Thanks

  2. Todor
    Admin
    Todor avatar
    168 posts

    Posted 30 Apr 2014 Link to this post

    Hello Alan,

    You can edit the LayoutModeSelector's template to achieve a different look of the control than the default one. In order you want to remove the LayoutModeSelector control from the RadRichTextBoxStatusBar, you should remove that control from the RadRichTextBoxStatusBar's control template.

    For your convenience, I've attached a project which illustrates how to do both of the above described control template changes. The changes are made in App.xaml file and a 'NOTE:' comment precedes every change.

    Please note, that NoXAML assemblies are used in the project. I'm recommending this approach when you are applying a theme on the controls. You can read more about implicit styles here.

    In order you are using XAML assemblies in your application, you can use the same edited styles which are used in the sent project as well.

    Regards,
    Todor
    Telerik
     
    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
     
  3. UI for WPF is Visual Studio 2017 Ready
  4. Alan
    Alan avatar
    6 posts
    Member since:
    Jan 2013

    Posted 30 Apr 2014 Link to this post

    Thank you very much Todor, that did exactly what I wanted it to do and I was successful in putting the change in my new product :)
Back to Top