Professional Documents
Culture Documents
12/19/13
features that are necessary even for basic WPF applications. For instance, in order to join any code-behind to a XAML file through a partial class, you must name that class as the x:Class attribute in the root element of the relevant XAML file. Or, any element as defined in a XAML page that you wish to access as a keyed resource should have the x:Key attribute set on the element in question. For more information on these and other aspects of XAML see XAML Overview (WPF) or XAML Syntax In Detail.
12/19/13
< P a g ex : C l a s s = " W P F A p p l i c a t i o n 1 . M a i n P a g e " x m l n s = " h t t p : / / s c h e m a s . m i c r o s o f t . c o m / w i n f x / 2 0 0 6 / x a m l / p r e s e n t a t i o n " x m l n s : x = " h t t p : / / s c h e m a s . m i c r o s o f t . c o m / w i n f x / 2 0 0 6 / x a m l " x m l n s : c u s t o m = " c l r n a m e s p a c e : S D K S a m p l e ; a s s e m b l y = S D K S a m p l e L i b r a r y " > . . . < c u s t o m : E x a m p l e C l a s s / > . . . < / P a g e >
12/19/13
See Also
Concepts
XAML Overview (WPF)
Other Resources
msdn.microsoft.com/en-us/library/ms747086(d=printer,v=vs.110).aspx
4/4