Does a leading slash in front of a data binding field have any effect?

2 posts, 1 answers
  1. Rod
    Rod avatar
    71 posts
    Member since:
    Jan 2011

    Posted 06 Feb 2014 Link to this post

    What effect, if anything, does putting a slash in from of the field bound to the control, have? For example:

        FontFamily="Century Gothic"
        Value="{Binding /ProbationStartYear}"
        AutoFillNumberGroupSeparators="False" />
  2. Answer
    Boris avatar
    276 posts

    Posted 10 Feb 2014 Link to this post

    Hello Rod,

    The RadMaskedTextInput component doesn't have any specific logic for handling the leading slash. It handles the binding as would any other WPF input component do.

    More information on the PropertyPath xaml syntax you can find here, where in the section "PropertyPath for Objects in Data Binding" under the titles "Current Record Pointer" and "Source Traversal (Binding to Hierarchies of collections)" the leading slash behavior is further described.

    Boris Penev

    Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

  3. DevCraft R3 2016 release webinar banner
Back to Top