Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a WPF Cheat Sheet available? [closed]

Tags:

.net

wpf

xaml

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?

like image 544
Pop Catalin Avatar asked Jan 29 '09 11:01

Pop Catalin


People also ask

Can WPF applications be built without using XML?

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.

Is WPF backend or frontend?

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.

What is WPF control?

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.

What is attributes in XAML?

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.


2 Answers

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).

like image 130
Nir Avatar answered Sep 20 '22 02:09

Nir


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/

like image 27
John Avatar answered Sep 20 '22 02:09

John