setting the focus on Custom editors on tabbing and Styling

4 posts, 0 answers
  1. Imran
    Imran avatar
    10 posts
    Member since:
    May 2014

    Posted 16 Sep 2014 Link to this post

    Hi Team,

    1) As I am providing my own customEditors based on my property types, I am unable to set the focus to the Custom Editors when I am tabbing through the PropertyGrid. I am providing my own style ( Grid layout) to the property Grid.Coud you please help me in this regards.

    2) Secondly, I want to provide my style similiar to the style which telerik provides when we make AutogeneratePropertyDefintions as true.
    Currently I am doing Autogenerate as False and providing my own style ( grid layout) as a result what happens is:
              a) The PropertyNames are getting overlapped by the Thumb(gripper that exists between the property name and the custom editor). I always have to hold the                gripper and move it right to see the complete name. Is there a way , so that I could align my property grid like: <PropertyName><gripper><Editor>. the                      Property Name takes the size as per its text and the rest space is completely taken by the Custom Editor.( Mostly Like Stack Layout)

    Regards,
    Imran
  2. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 19 Sep 2014 Link to this post

    Hello Imran,

    As to your first question, you can check the Keyboard Support article in our documentation. If you have set RenderMode="Flat", then the navigation would be through the items of RadPropertyGrid. 
    You need to configure the RenderMode to be Hierarchical, so that you will be able to navigate along the Editors directly. 


    As to your second question, I am not sure how to understand it. Generally the template should be the same no matter if you have auto-generated definitions or manually generate ones.
    Would you please share some more information on the exact style you have applied? 

    Regards,
    Dimitrina
    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. Imran
    Imran avatar
    10 posts
    Member since:
    May 2014

    Posted 21 Sep 2014 in reply to Dimitrina Link to this post

    Thanks Dimitrina !!

    Well could you please provide me the styling for stack layout for property Grid
  5. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 Sep 2014 Link to this post

    Hi Imran,

    To learn how to style RadPropertyGrid and any of our WPF controls, you can read the common topic about Setting a Theme (Using Implicit Styles).

    There is also another way to obtain the template of a particular visual element. In the RadControls installation folder on your PC, go to Themes folder ( Themes.Implicit in case you're using Implicit Styles) and select the theme that you use in your application. Then drill down to find the respective Telerik.Windows.Controls.Data.xaml file in that directory. From this resource dictionary you can extract any needed resources.

    I hope this helps.

    Regards,
    Dimitrina
    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.
     
Back to Top