User Tools

Site Tools


notes:uwp:xaml

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
notes:uwp:xaml [2017/03/02]
admin
notes:uwp:xaml [2017/04/03] (current)
leszek [Performance]
Line 67: Line 67:
 } }
 </​code>​ </​code>​
 +
 +Ways to realize an element:
 +  * FindName()
 +  * GetTemplatedChild() (for ControlTemplate)
 +  * Storyboard and VisualStates (because of FindName)
  
 When you have elements in your UI that are //​Collapsed//​ by default, the objects are still created at startup, even though they aren't visible. You can defer loading these elements until they are shown by setting the //​x:​DeferLoadStrategy//​ attribute to //Lazy//. This can improve startup performance. When you have elements in your UI that are //​Collapsed//​ by default, the objects are still created at startup, even though they aren't visible. You can defer loading these elements until they are shown by setting the //​x:​DeferLoadStrategy//​ attribute to //Lazy//. This can improve startup performance.
notes/uwp/xaml.txt ยท Last modified: 2017/04/03 by leszek