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

String editor not losing focus

5 Answers 88 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 09 Feb 2013, 11:59 PM
I am verifying that my view's property setter is indeed setting. However, the PropertyGrid editor is not losing focus. That is, I don't see the (somewhat) expected editor exit and change indicator, that sort of thing. I don't know if it's a Xaml issue or not. Not setting the values special otherwise: I have an INotifyPropertyChanged-based view into my domain model. Nothing spectacular there.

<telerik:RadPropertyGrid Name="_rpgTranslation"
                         Grid.Row="1"
                         AutoGenerateBindingPaths="True"
                         telerik:StyleManager.Theme="Expression_Dark"/>

5 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 11 Feb 2013, 08:02 AM
Hi Michael,

Will it be possible to clarify a bit ? When do you expect an editor to lose focus (after clicking outside or pressing Enter) ?  

All the best,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Travis
Top achievements
Rank 1
answered on 11 Feb 2013, 03:20 PM
Yes, I expect there to be some sort of changing or validation attempt to occur and lose focus or exit the editor or whatever is appropriate at the appropriate time. Is that possible in the current model?
0
Maya
Telerik team
answered on 12 Feb 2013, 11:07 AM
Hi Michael,

By default RadPropertyGrid is in edit mode and there is no getting out of it like in RadGridView for example. Still, I am not quite sure what you expect at what moment. Will it be possible to describe a sample scenario how the property grid behaves and how you want it to ? 

Regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Travis
Top achievements
Rank 1
answered on 12 Feb 2013, 02:59 PM
Well, I think the answer is in your reply: there's no getting out of it. So get out of it.

I've used both the WinForms PropertyGrid and now the WPF PropertyGrid, and while I understand they are slightly different animals WinForms to WPF (okay, in some instances, vastly different), how can we bridge that gap a little?

One is for editors to exit. Would be great to see the "statefulness" of edit results, like the WinForms version, and show the undo cursor, tht sort of thing. But for now, I'll be glad to see editors exit.

Enough with the text editor (default).

How may we define our own? For instance, I'd like to edit System.Version as a System.Version, now through a workaround text editor.

Thanks...
0
Maya
Telerik team
answered on 12 Feb 2013, 03:58 PM
Hello Michael,

I have just replied on the other thread you started on the same topic. 

Greetings,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
PropertyGrid
Asked by
Travis
Top achievements
Rank 1
Answers by
Maya
Telerik team
Travis
Top achievements
Rank 1
Share this question
or