Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

Errata: WPF Recipes in C# 2008 4-3. Add Properties to a User Control

I am an avid reader. We can always learn something new in reading a new book. But no book can be perfect, esp. technical books on new technologies. So I would take notes when I noticed some inaccurate, misgudied or incorrect discussions or examples. And
Posted by zhanbos | 1 Comments
Filed under:

WPF Visual Designer (code name Cider) Tip 4: Select Parent Control

A common task is to select parent control of the currently selected control or controls. When only one control is selcted, there are at least three ways to achieve so. You can choose the parent control directly on Designer, or via PathControl/Document
Posted by zhanbos | 0 Comments
Filed under:

WPF Visual Designer (code name Cider) Tip 3: Nudge vs. Move

Applies to Visual Studio 2008 Beta2. User can also change controls' positions via keyboard nudge: Select one or more controls, and then press Up , Down , Left , or Right key. Unlike Move (or move via mouse to be more specific), nudge does not change controls'
Posted by zhanbos | 1 Comments
Filed under:

WPF Visual Designer (code name Cider) Tip 2: Resize vs. Move

Take a look at the following XAML: < Grid Name ="mainGrid"> < Grid Margin ="17,20,132,130" Name ="grid1"> < Button Height ="23" Margin ="10,10,44,0" Name ="button1" VerticalAlignment ="Top"> Button </ Button > </ Grid > <
Posted by zhanbos | 3 Comments
Filed under:

WPF Visual Designer (code name Cider) Tip 1: Turn Snapline Off

Applies to Visual Studio 2008 Beta2. By default, Snapline is on when you perform such actions as move or resize control, or move grid lines. But there are two options to turn snapline off. To keep the snapping behavior without showing snaplines, you use
Posted by zhanbos | 1 Comments
Filed under:

Cider: primitive split View on XAML files

Applies to: Cider CTP June 2006. With split view on a XAML file, developers should be able to see both the Designer and XAML at the same time. Moreover, developers should be able to use Designer and XAML editor in any way, and the two views are always
Posted by zhanbos | 1 Comments

Locally set value takes precedence over Style value

If a DependencyProperty’s value is locally set, this value takes precedence over whatever value specified in Style. For example, the only button’s Background is LightGreen instead of LightBlue: < Grid xmlns = " http://schemas.microsoft.com/winfx/avalon/2005
Posted by zhanbos | 2 Comments
Filed under:

CLR Event vs. Routed Event: Two Demo Applications

As you may have already known, you can define and use Dependency Property as well as CLR Property in Avalon. (If you want to know more about Avalon’s property system, stay tuned in this blog.) Same thing can be said about CLR Event and Routed Event. By supporting routed event in Avalon, the parent element can participate in events sourcing from its child elements. This blog post presents two applications to show the differences between CLR event and RoutedEvent.
Posted by zhanbos | 4 Comments
Filed under:

.NET Quiz (Q1-Q4)

A quick way to measure your understanding of .NET is to take some quiz questions. And from time to time, I will offer some for your enjoyment. The answers will be given out either in the comment and/or in the next Quiz blog. Of course, you can usually
Posted by zhanbos | 14 Comments
Filed under:

MSN Newsbot, and more...

MSN Newsbot (beta) is an experimental, automated news service. It gathers news from over 4,000 sources on the internet and speed your discovery of news stories on the internet. News headlines are clustered together to allow you to compare coverage from
Posted by zhanbos | 7 Comments
Filed under:

Naming Issue: Callback vs CallBack

In Fx 1.x, we have both Context.Do Call B ack method and Async Callback delegate. Which spelling is appropriate based on . NET Design Guideline ? The answer is Callback as “callback” is a single word. Going forward we should not see the spelling
Posted by zhanbos | 1 Comments
Filed under:

New Year 2004

I am back from month-long vacation , and my blog is officially moved from gotdotnet.com to msdn.com . In the New Year, I will continue my blog with the focus on .NET. And it is almost Lunar New Year's Day today. If you celebrate it, Happy New Year of
Posted by zhanbos | 3 Comments
Filed under:

Acronym Reference

The following acronyms are by no means official, but serve as reference when you see them. I will keep updating them. This blog is originally posted at gotdotnet.com. B BOL: Book On Line (Sql Server) I ICF: Internet Connection Firewall L LOB: Line Of
Posted by zhanbos | 3 Comments
Filed under:
 
Page view tracker