This is a migrated thread and some comments may be shown as answers.

setting the focus on Custom editors on tabbing and Styling

3 Answers 16 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 16 Sep 2014, 02:07 PM
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

3 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 19 Sep 2014, 11:13 AM
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.
 
0
Imran
Top achievements
Rank 1
answered on 21 Sep 2014, 01:52 PM
Thanks Dimitrina !!

Well could you please provide me the styling for stack layout for property Grid
0
Dimitrina
Telerik team
answered on 22 Sep 2014, 01:54 PM
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.
 
Tags
PropertyGrid
Asked by
Imran
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Imran
Top achievements
Rank 1
Share this question
or