What is the class hierarchy of UWP user interface controls?

Posted: (EET/GMT+2)

 

When developing UWP (Universal apps) applications with C# and Windows 10, working with user interfaces if mostly done by manipulating XAML code. However, the more dynamic applications you are implementing, the more deeply you need to be aware of the class library implementation.

Today's blog post is a quick reference to the class hierarchy (parent/child relationship map) of UWP user interface controls. For example, the TextBox control has a class hierarchy like this:


Windows.UI.Xaml.Controls.TextBox
  -- Windows.UI.Xaml.Controls.Control
    -- Windows.UI.Xaml.FrameworkElement
      -- Windows.UI.Xaml.UIElement
        -- Windows.UI.Xaml.DependencyObject
          -- System.Object

Hope this helps!