String editor not losing focus

6 posts, 0 answers
  1. Travis
    Travis avatar
    49 posts
    Member since:
    Dec 2012

    Posted 09 Feb 2013 Link to this post

    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"/>
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 11 Feb 2013 Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
  4. Travis
    Travis avatar
    49 posts
    Member since:
    Dec 2012

    Posted 11 Feb 2013 Link to this post

    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?
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 12 Feb 2013 Link to this post

    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.

  6. Travis
    Travis avatar
    49 posts
    Member since:
    Dec 2012

    Posted 12 Feb 2013 Link to this post

    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...
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 12 Feb 2013 Link to this post

    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.

Back to Top
UI for WPF is Visual Studio 2017 Ready