Basic elements in XAML

Hello everybody,

today I want to write few words about basic elements in XAML.


This class is next in inheritance level in XAML after object. DependencyObject gives needed properties for representing something that participates in dependency property system. Mostly needed for data binding. It is basic for UIElement, Geometry, FameworkTemplates, Tile, ResourceDictionary.


This is base class for all objects that have visual representation. It supports basic manipulation, appereance, layout. Also it has code for responses for user input, routed events, some aspects of animation system.


This class takes part in layout and obliged to have display space in app UI. Following properties are included: Height, Width, Alignment, Margin. Adds cooperation with DataContext.

No Comments

Add a Comment