#31 – UIElement Class

The UIElement class inherits from Visual and adds support for basic user interaction behavior, including:

  • Layout behavior
    • Parent/child relationship
    • Measure/Arrange passes
  • Responding to user Input

    • Input events from devices like keyboard/mouse
    • Command bindings
  • Manage Focus
  • Raise (and respond to) routed Events
    • Events bubble (up) or tunnel (down) element tree

Note the acronym formed, which helps in thinking about UIElement – “LIFE begins at UIElement“.


About Sean
Software developer in the Twin Cities area, passionate about software development and sailing.

One Response to #31 – UIElement Class

  1. Pingback: #995 – ListBox Uses UI Virtualization by Default | 2,000 Things You Should Know About WPF

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: