Changes

XAML Best practices

287 bytes added, 14:53, 21 August 2024
/* ControlTemplate in UWP */
=== ControlTemplate in UWP ===
The situation is much simpler in UWP, which only makes use of the ControlTemplate to define custom templates. The ControlTemplate in UWP inherits the context from its content control, so no equivalent to Xamarin's <nowiki>BindingContext="{TemplateBinding BindingContext}"</nowiki> is required. The ContentControl is used to render an instance of a template.
<br>
<br>
 
[[Category:Pages with broken file links|XAML Best practices]]
[[Category:XAML|XAML Best practices]]
=== Contexts and Context Switching ===
650
edits

Help improve this page!