Jump to: navigation, search

Changes


XAML Best practices

18 bytes added, 18 March
/* Improved Approach */
The previous example used an '''MROViewModel''' binding directly in the '''TemplateContext''' property of the '''<ctrls:ContentControl>.'''
However, a workaround that seems to avoid triggering background binding errors is to apply the '''MROViewModel''' to the '''<ctrls:ContentControl>''' itself via the '''BindingContext ''' property, and then request that '''BindingContext ''' using the x:Reference syntax seen in the '''TemplateContext ''' property.
'''Why This Change?'''
117
edits