Zhanbo Sun [MS]

Realize .NET & Windows Vista Potential

Browse by Tags

All Tags » Core (RSS)
  • FrameworkPropertyMetadata.Inherits

    Filed under:
    FrameworkPropertyMetadata.Inherits indicates whether the DependencyProperty registered with this metadata is inheritable or not. For example, Binding.DataContextProperty is inheritable, yet DockPanel.DockProperty is not. The demo code below firstly creates
    PostTypeIcon
    2,703 Views
  • Raise Routed Event through RaiseEvent

    Filed under: ,
    (Version: Avalon CTP 2004 November) Both UIElement and ContentElement implement IInputElement interface, which defines RaiseEvent method. This post gives you an example of using it. We start with a simple Xaml file: < Window x:Class = " AvalonApplication1
    PostTypeIcon
    6,141 Views
  • Show me the Info of Visual Tree

    Filed under:
    (Version: Avalon CTP 2004 November) What does mainWindow ‘s visual tree look like when a simple Xaml file (below) is rendered onto the screen? < Window x:Class = " AvalonApplication1.Window1 " xmlns = " http://schemas.microsoft.com/2003/xaml
    PostTypeIcon
    11,162 Views