Realize .NET Potential

Zhanbo Sun's Blog

  • Realize .NET Potential

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

    • 1 Comments
    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...
  • Realize .NET Potential

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

    • 0 Comments
    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...
  • Realize .NET Potential

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

    • 1 Comments
    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...
  • Realize .NET Potential

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

    • 3 Comments
    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 > <...
  • Realize .NET Potential

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

    • 1 Comments
    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...
  • Realize .NET Potential

    Cider: primitive split View on XAML files

    • 1 Comments
    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...
  • Realize .NET Potential

    Locally set value takes precedence over Style value

    • 2 Comments
    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...
  • Realize .NET Potential

    CLR Event vs. Routed Event: Two Demo Applications

    • 4 Comments
    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....
  • Realize .NET Potential

    .NET Quiz (Q1-Q4)

    • 14 Comments
    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...
  • Realize .NET Potential

    MSN Newsbot, and more...

    • 7 Comments
    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...
  • Realize .NET Potential

    Naming Issue: Callback vs CallBack

    • 1 Comments
    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...
  • Realize .NET Potential

    New Year 2004

    • 3 Comments
    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...
  • Realize .NET Potential

    Acronym Reference

    • 3 Comments
    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...
Page 1 of 1 (13 items)