I'm looking for a WPF cheat sheet that has the WPF markup extensions for binding, resources, and other common things in WPF. But so far I've had trouble finding it.
Anyone know where I could find one?
But WPF without XAML is possible. You don't even need Visual Studio installed for this, just the . NET CLI and the Developer Command Prompt. Drop these two files in a folder and run msbuild and then you can run the file in the Bin directory.
WPF uses C# as backend language and XAML as the front-end language. Microsoft designed the WPF with loosely coupled presentation as well as business logic, which facilitates the use of design patterns like MVC or MVVM in the development.
WPF SDK continues to use the term "control" to loosely mean any class that represents a visible object in an application, it is important to note that a class does not need to inherit from the Control class to have a visible presence.
Attribute syntax is the XAML markup syntax that sets a value for a property by declaring an attribute on an existing object element. The attribute name must match the CLR member name of the property of the class that backs the relevant object element.
I wrote a cheat sheet specifically for data binding and posted it on my blog at:
http://www.nbdtech.com/blog/archive/2009/02/02/wpf-xaml-data-binding-cheat-sheet.aspx
It's very detailed and covers all the properties of the Binding class (because I never forget how to write {StaticResource something} but how to one-way bind to an ancestor of the target element is another thing).
I have created a cheat sheet an have posted it on my blog at:
http://blog.blueboxes.co.uk/2009/02/01/xaml-for-wpf-cheatsheet-10-draft/
it is only a draft (currently in word the final will be in PDF) and I am looking for feedback on how to improve it.
UPDATE: Final PDF copy can be now found here:
http://blog.blueboxes.co.uk/2009/02/03/xaml-for-wpf-cheatsheet/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With