Set SelectedField

2 posts, 0 answers
  1. Normen
    Normen avatar
    3 posts
    Member since:
    Aug 2012

    Posted 06 Nov 2012 Link to this post

    Hi,
    is there any possibility to select a field by code?
    (The SelectedField-Property is readonly.)

    Thanks for help!
    Normen
  2. Normen
    Normen avatar
    3 posts
    Member since:
    Aug 2012

    Posted 07 Nov 2012 Link to this post

    I solved my problem with PropertyGridPresenter.

    var propPresenter = radProp.ChildrenOfType<PropertyGridPresenter>().First();
    propPresenter.SelectedPropertyDefinition = firstNamePropertyDefinition;
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top