WPF DataTriggers with enums
Posted by: MarkWPF
This is something that I had to do recently, and it wasn't as obvious as I thought.
Given a very simple enum like:
This is something that I had to do recently, and it wasn't as obvious as I thought.
Given a very simple enum like:
Have you ever written any user controls or custom controls? The difference between them is that with a custom control you have full scope to render it (plus you have to do it), whereas a user control is a container to amalgamate other controls. With both of them though, you need to make sure...
As I am architecting a new Line Of Business system for a customer, one of my thoughts is to recheck the situation with WPF controls. The power and styleability of WP, with a few small exceptions, means that there isn't quite the need for third party control libraries as there was in WinForms....
Do you have problems printing documents in WPF? My problem manifested itself when I tried to print a document from a FlowDocumentPageViewer (though the same is true from a FlowDocumentReader). The problem I was getting was that if I had multiple pages, they would all be scaled and fitted onto...
I have blogged before on how you print a WPF element using the PrintVisual method in the PrintDialog class, which is very flexible as it will print any element derived from Systems.Windows.Media.Visual. However, there is another weapon in the PrintDialog armoury, and that is the ability to print...