linksaussen

Stories kicked by linksaussen

WPF Printing: How to print a PageRange with WPF’s PrintDialog ...(thomasclaudiushuber.com)

submitted by linksaussenlinksaussen(90) 2 years, 6 months ago

WPFs PrintDialog has no logic for printing a page range of a FixedDocument (XPS). It allows the User to define a pagerange, but then all pages are printed and it's up to you to implement the logic to only print the pages defined in the PrintDialog. This blog-post describes an elegant way how to implement generic logic to support the printing of page ranges. read more...

add a comment |category: |Views: 130

tags: another

Here it is: The UpdateSourceTrigger for PropertyChanged in Silverlight(thomasclaudiushuber.com)

submitted by linksaussenlinksaussen(90) 2 years, 10 months ago

Shows an implementation for supporting the UpdateSourceTrigger PropertyChanged for DataBindings in Silverlight. So a databound TextBox will update its source everytime the Text-Property changes, and not only when it loses focus. read more...

add a comment |category: |Views: 358

tags: another

Developing Multicolumn-DropDown with ASP.NET, the GridView and AJAX(thomasclaudiushuber.com)

submitted by linksaussenlinksaussen(90) 3 years, 9 months ago

This article shows, how to develop a really useful multicolumn-dropdownlist with ASP.NET, the GridView and the AJAX Control Toolkit. read more...

add a comment |category: |Views: 851

tags: another

Lazy instantiation one-liner with the coalesce operator(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

The one-liner for lazy instantiation of instance fields using the coalesce-operator read more...

2 comments |category: |Views: 344

tags: another

WPF + INotifyPropertyChanged Proxy = Epic Fail!(realfiction.net)

submitted by fquednaufquednau(404) 4 years ago

Sending property changed events when a property is changed is repetitive boilerplate code that can be factored out into an aspect of your system's behaviour. This can be done with a proxy generator library like the Castle's DynamicProxy2. Alas, it is not as pretty as it seems... read more...

add a comment |category: |Views: 141

tags: another

LostFocus (TextBox) vs. Buttons IsDefault-Property(thomasclaudiushuber.com)

submitted by linksaussenlinksaussen(90) 4 years ago

If a Buttons IsDefault-Property is set to true, it'll be clicked, when the user presses the Enter-Key. If a TextBox has Focus, and its Text-Property is databound, the Source of the Data Binding won't be updated. This Post describes the problem and the solution. read more...

add a comment |category: |Views: 199

tags: another