Visual Tree Helpers

WPF User Interface is represented in a way of tree. There are two ways that the complete object tree is conceptualised and can be reported to its public API: as the logical tree and as the visual tree. The Logical tree does not contain the core controls of WPF. For example, the child object of a ContentControl... Continue Reading →

Attached Properties VS Behaviors

One of the powerful concept of WPF is Attached Properties. The primary purpose of attached property is to define a unique value to child elements for a property, which is defined in Parent element as MSDN suggests. Some of the typical examples are Grid.Row, DockPanel.Dock, etc. But it can also be used to attach additional... Continue Reading →

Attached Properties VS Behaviors

One of the powerful concept of WPF is Attached Properties. The primary purpose of attached property is to define a unique value to child elements for a property, which is defined in Parent element as MSDN suggests. Some of the typical examples are Grid.Row, DockPanel.Dock, etc.But it can also be used to attach additional information... Continue Reading →

Whats new in PRISM 5.0 – ViewModel Locator

ViewModels are usually resolved and injected through DI containers. We will set the viewmodel as DataContext of View. But still there are some frameworks like Caliburn Micro who provided a conventional way of resolving the view models. Now Microsoft added this feature into the PRISM framework. The View and ViewModels can be wired together by a naming... Continue Reading →

Up ↑