Browse by Tags

Core
  • FrameworkPropertyMetadata.Inherits

    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 a DockPanel, a StackPanel, and a Button. To...
    PostTypeIcon
  • Raise Routed Event through RaiseEvent

    (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.Window1 " xmlns = " http://schemas.microsoft...
    PostTypeIcon
  • Show me the Info of Visual Tree

    (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 " xmlns:x = " Definition " Text = " AvalonApplication1...
    PostTypeIcon
Page 1 of 1 (3 items)