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 →
Reporting enhancements for Windows Phone developers
On 12th February 2015, Windows Dev Center released reporting changes to Windows Phone App downloads and In-app products reports. We know having data as soon as possible is important to make decisions about your apps, so in this release, the Windows Phone download and in-app purchase reports have been optimized to deliver information faster. We released... Continue Reading →
InvokeCommandAction with EventArgs as Command Parameter
Expression Blend team provides the ability to wire up some events to viewmodel through commands like SelectionChanged of a ListBox, etc using System.Windows.Interactivity.dll. You can bind a Command to any event with WPF controls. There is also a way to bind command parameter also, so that view state can passed to the viewmodel. Custom Command... 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 →
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 →