by Weifen Luo (DevZest)
11. April 2010 19:12
Download DataVirtualization_Src.zip (40KB)
Introduction
In a typical WPF + WCF LOB application, displaying and interacting a large data set is not a trivial task. While several posts on internet forums discuss data virtualization, none of them has all the following:
Selection, sorting and...
[More]
by Weifen Luo (DevZest)
10. February 2010 13:37
Download Source: MvvmDemoApp.zip (183KB)
Today an evaluation user asked how to implement MVVM design pattern with WPF Docking. Here is a sample application modified from the MSDN Magazine article WPF Apps With The Model-View-ViewModel Design Pattern(by Josh Smith): the application c...
[More]
by Weifen Luo (DevZest)
17. December 2009 09:31
Recently an user of WPF Dockingreported a bug that in Expression Blend the sample window is not rendering. The Blend window says "Invalid XML", the error message in the results pane says: The property "ShowActions" can only be set once; The property "ShowActions" ...
[More]
by Weifen Luo (DevZest)
11. December 2009 13:08
Download Source Code (29KB) Introduction Recently I’m working on a LOB (Line-of-Business) application requires implementing couple of survey forms to collect data from the user (yes, in addition to sell our software products, we provide .Net consulting service too). Here is a clean implementat...
[More]
by Weifen Luo (DevZest)
17. September 2009 23:29
Today, an Italian user of WPF Docking reported a bug in BrowserDockSample: the saved floating window position is not correctly loaded - it seems the loaded floating window is displayed at far right bottom of the screen. Taking the saved XAML text under the Italian culture: <DockLayout
xmlns...
[More]
by Weifen Luo (DevZest)
14. September 2009 11:55
There are many ways to enforce the software licensing for local machine copy protection: CPU ID, network card mac address, hard disk serial number, etc. But they all have some pitfalls: the first is hard to get these information reliably; the second is these information is the privacy of the users a...
[More]
by Weifen Luo (DevZest)
2. September 2009 17:40
In .Net programming, you can check for a condition and outputs the call stack if the condition is false:
// Test that the index value is valid.
Debug.Assert(index > -1);
Or throw an exception under a certain condition:
// Test that the index value is valid.
if (index <= -1)
throw n...
[More]
66fc19c0-afc4-40a4-97e3-180995095cd0|0|.0
Tags:
.Net
by Weifen Luo (DevZest)
25. August 2009 11:00
After posting the blog Programming Elevated Privilege / UAC, I realized I should post a separate blog to discuss UAC first. Before Window NT (Windows 3.1, Win95, 98), there is no concept of user or user privilege. At that time, Windows are built on top of DOS, and DOS is a very simple operating sys...
[More]
by Weifen Luo (DevZest)
25. August 2009 09:52
A commonly required feature for WPF Docking is the ability to show/hide icon for document tab. Though it can be accomplished by apply a custom template for DocumentTab class, we added this feature in version 1.0.3520 to make everybody’s life easier.
A new DocumentTab.ShowsIcon attached pro...
[More]
by Weifen Luo (DevZest)
17. August 2009 11:40
Recently I received an enquiry asking if I can provide documentation and support for DockPanel Suite similar as provided for WPF Docking, which he is willing to pay more for that. Well I love to get paid (who else not?), but after consideration I had to reply with the answer “no”. One ma...
[More]