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

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

1 Answer 12 Views
MaskedInput (Numeric, DateTime, Text, Currency)
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Rod asked on 06 Feb 2014, 06:28 PM
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" />

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 10 Feb 2014, 05:15 PM
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).

MaskedInput (Numeric, DateTime, Text, Currency)
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question