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 →
5 Tricks you should know in WPF – PART 2
1. TextBlock is not just for Text We all know that TextBlock is an UI control, which will carry a piece of text. But actually MSDN explains it in a bit different way. Provides a lightweight control for displaying small amounts of flow content. Flow Content !!!, which not means only text. Lets look at... Continue Reading →
5 Tricks you should know in WPF – PART 2
1. TextBlock is not just for TextWe all know that TextBlock is an UI control, which will carry a piece of text. But actually MSDN explains it in a bit different way.Provides a lightweight control for displaying small amounts of flow content.Flow Content !!!, which not means only text. Let's look at the power of... 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 →
5 Tricks you should know in WPF – PART 1
1. Write C# Code in XAML We all know that XAML is a design language which helps in building user interface. But how many of us know, that, it is possible to write C# code inside XAML. This can be achived using x:Code. This attribute allows placement of code within a XAML production. The code... Continue Reading →
5 Tricks you should know in WPF – PART 1
1. Write C# Code in XAMLWe all know that XAML is a design language which helps in building user interface. But how many of us know, that, it is possible to write C# code inside XAML. This can be achieved using x:Code. This attribute allows placement of code within a XAML production.The code within the... Continue Reading →