I am trying to use the Expander control in the surface application. I have seen its not a surface control so application compiles and control shows up but the contacts are not working.
Is there anyway I can modify the contact events and make it work in surface applications.
To do that, all you have to do is change the
Expander‘s template to use Surface controls instead of the regular controls.The
Expander‘s default template can be found at http://msdn.microsoft.com/en-us/library/ms753296.aspx.All you need to change is the ToggleButton:
changes to
(closing tags omitted)
This assumes
sis bound to the Surface XML Namespace: