Category Archives: WPF

PHPHOST BLOG

Web Hosting Related Articles You May Need

Task based WCF Services in .NET 4.5

Task based asynchronous programming is now simplified and streamlined in .NET 4.5 through the use of keywords ‘await’ and ‘async’. These keywords help makes asynchronous code look similar to synchronous coding, making it easier to write and understand Asynchronous code. Those who have used WCF service might have used the Asynchronous contract generation while adding WCF service reference in the Continue reading

Posted in .NET, Syndicated, WCF, WPF | Comments Off on Task based WCF Services in .NET 4.5

WPF 4: Style ListBox Items using ItemContainer Style

Recently I was asked a question about the default styles for WPF ListBoxItems and how to change the Style for the a Selected ListBox Item. This article has the solution to both the queries.

When data is bound to a WPF List Box, the List Items gets … Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Style ListBox Items using ItemContainer Style

WPF 4: Change Hyperlink Text and URL using DataBinding

Let us assume we want to create a WPF UI with a ListBox containing list of web sites. This ListBox must contain Hyperlinks and it should be possible to change the Text and URL of these hyperlinks dynamically. Thankfully in WPF, we have the Hyperlink co… Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Change Hyperlink Text and URL using DataBinding

WPF 4: Change Hyperlink Text and URL using DataBinding

Let us assume we want to create a WPF UI with a ListBox containing list of web sites. This ListBox must contain Hyperlinks and it should be possible to change the Text and URL of these hyperlinks dynamically. Thankfully in WPF, we have the Hyperlink co… Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Change Hyperlink Text and URL using DataBinding

WPF 4: Using DataGrid Context-Menu for Performing Insertion and Deletion Operations

In most cases, when you develop WPF UI application with the DataGrid control, end-users demand Excel like features with various shortcuts for performing Insert and Delete operations. The WPF DataGrid Context Menu helps us to develop similar kind of UI … Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Using DataGrid Context-Menu for Performing Insertion and Deletion Operations

WPF 4: Using DataGrid Context-Menu for Performing Insertion and Deletion Operations

In most cases, when you develop WPF UI application with the DataGrid control, end-users demand Excel like features with various shortcuts for performing Insert and Delete operations. The WPF DataGrid Context Menu helps us to develop similar kind of UI … Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Using DataGrid Context-Menu for Performing Insertion and Deletion Operations

WPF 4: Using Input Bindings to Go Mouseless

While creating the UI of an application, we need to adopt techniques that makes the user comfortable with the app. If the existing user is habitual of using shortcut keys for various operations, then while developing the new user interface, it is neces… Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Using Input Bindings to Go Mouseless

WPF 4: Using Input Bindings to Go Mouseless

While creating the UI of an application, we need to adopt techniques that makes the user comfortable with the app. If the existing user is habitual of using shortcut keys for various operations, then while developing the new user interface, it is neces… Continue reading

Posted in Syndicated, WPF | Comments Off on WPF 4: Using Input Bindings to Go Mouseless

WPF: Binding XML Data to UI Elements

In this article, we will see how to bind XML data to WPF UI Elements. In this demonstration, I will try to show you a simple Master-Detail sample. I have used the following WPF controls in this example –

1) DataGrid.
2) TextBox.
3) Image.

So let Continue reading

Posted in Syndicated, WPF | Comments Off on WPF: Binding XML Data to UI Elements

WPF: Binding XML Data to UI Elements

In this article, we will see how to bind XML data to WPF UI Elements. In this demonstration, I will try to show you a simple Master-Detail sample. I have used the following WPF controls in this example –

1) DataGrid.
2) TextBox.
3) Image.

So let Continue reading

Posted in Syndicated, WPF | Comments Off on WPF: Binding XML Data to UI Elements