Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / desktop / XAML

XAML

XAML

Great Reads

by Saad_Mahmood
Magical MVVM using power of Expression Blend
by Sacha Barber
This is a rant about .NET 3.5 SP1 StringFormat Binding Property
by Anil Kr. Sharma
.NET Framework 3.0 primer.
by Jani Giannoudis
Concepts and patterns for the handling of strings in multilingual applications.

Latest Articles

by Saad_Mahmood
Magical MVVM using power of Expression Blend
by Sacha Barber
This is a rant about .NET 3.5 SP1 StringFormat Binding Property
by Anil Kr. Sharma
.NET Framework 3.0 primer.
by Jani Giannoudis
Concepts and patterns for the handling of strings in multilingual applications.

All Articles

Sort by Score

XAML 

by jmix90
A fast and easy tip about shadows and performance
by Arik Poznanski
A Customizable WPF MessageBox
by Don Kackman
A simple Silverlight object viewer
by Don Kackman
A slightly less simple object browser for Windows phone 7
by Abu_yanal
Adding Splash screen
by rudigrobler
Anatomy of the Windows 7 taskbar - Progress
by Matteo Prosperi
This post is the the second in a short series investigating somewhat exotic parts of .NET.
by Steve Psaltis
How do you go from one view to another without coupling views or view models together? Here is how I am currently doing it.
by Nick Polyak
I continue a series of blog posts about implementing WPF concepts outside of WPF.
by Leom Burke
Binding and styling text to a RichTextBox in WPF
by Ivan Krivyakov
This simple trick stops the binding gremlins on their tracks, as only a dependency property can be their target.
by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
by jmix90
A problem you often meet when using MVVM is to get the selected items of an items control, especially Listbox
by erik_nl
Building a control template/style for the tabControl to clone the office 2010 ribbon File look
by rudigrobler
Building OpenPOS: SalesModule (Part 1)
by Don Kackman
C# property class - Part 2
by John Michael Hauck
This post describes the design of the CharmFlyout custom control, discussing both the C# and XAML that achieves the desired functionality.
by John Michael Hauck
Adding CharmFlyout to Grid Apps
by Kunal Chowdhury «IN»
Color Highlighting in Visual Studio XAML page using ReSharper 6
by Daniel Vaughan
Prompted by a recent comment on the T4 Metadata Generation template article, which I released some weeks ago, I have implemented a new mechanism for concatenating property paths. This allows compile time validation of properties that exist on composite or nested members.
by Derek Lakin
Creating a Custom View Mode that Supports a Template Selector
by Derek Lakin
I'll show you how to implement a custom Style by implementing a custom message box.
by adityaswami89
A generic way of adding a table to Powerpoint using OpenXML
by Derek Lakin
Additional MessageBox features on Windows Phone 7.
by Nick Polyak
Data Templates implementation outside of WPF
by kishore Gaddam
The Binding object needs to get its data from somewhere, and there are a few ways to specify the source of the data like using Source property directly in the Binding, inheriting a DataContext from the nearest element...
by Manas_Patnaik
Debugging XAML Binding with Silverlight 5
by Samuel Cragg
Defining MessageDialogs in XAML
by jmix90
When you want to make an object binding-aware you have two choices : implements INotifyPropertyChanged or creates DependencyProperties.
by Abdelrahman El Kinani
Azure MySQL DB, how to design it, basic UWP todo demo
by Ashish Kaila
How to dynamically bind value converters to elements in XAML
by Manas_Patnaik
Achieving a Twitter page like functionality using Element Binding in Silverlight.
by John Michael Hauck
How to flatten a TransformGroup
by Pete O'Hanlon
How to have fun with fonts in WPF
by n.podbielski
Reflection.Emit is very powerful tool. It creates IL code and since C# is converted into IL too, we have the same functionality as in C# and even more. It is very powerful and at the same time very complicated. Because of that it is worth to discuss how and for what it should be used.
by Shayne P Boyer
How to get started with Windows Phone and MVVM light
by Shayne P Boyer
Getting started with Windows Phone and MVVM Light
by PeteBarber
It is critically important to make sure that a View's DataContext is properly created and attached before the underlying Window is displayed, otherwise initial events will be missed.
by ManojKumar19
Hands on Lab for MVVM, Value Converter, XAML Binding, Delegate Command pattern, INotifyPropertyChange, Lambda Expression, LINQ etc. in Silverlight/WPF project
by Kunal Chowdhury «IN»
Here I will explain the feature & step by step process for implementing the Silverlight Out-Of-Browser functionality.
by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 1)
by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 2)
by Kunal Chowdhury «IN»
Organizing custom control properties inside Visual Studio and Expression Blend
by Kunal Chowdhury «IN»
How to create a circular loader using XAML?
by Kunal Chowdhury «IN»
How to create a different circular loader using XAML?
by jmix90
The expander control can be used in a lot of situations but the one proposed by default is quite "rigid".
by jmix90
Reusability and factorizing are maybe the most commons things you want and use when you are developing applications. In WPF it often means creating controls library (i don’t mean UserControl) that will be easy to use in multiple applications.
by Kunal Chowdhury «IN»
Crop an object using Expression Blend
by Kunal Chowdhury «IN»
How to get rid of the XAML Design view inside Visual Studio IDE?
by Kunal Chowdhury «IN»
How to implement template binding in Silverlight custom control
by Kunal Chowdhury «IN»
How to Reposition a Silverlight Child Window?
by Paulo Morgado
How to make XAML Content Globalizable when using value converters
by XPG Live
Use leaderboards on Windows Phone with XPG
by Timmy Kokke
The basics of the Hub control and how to use it when working in Blend for Visual Studio 2013 preview.
by adityaswami89
Article on Validation in XAML applications with Fluent technique
by Arun Jacob
This article shows how to implement INotifyPropertyChanged.
by Paulo Zemek
Infinite maps (for games or similar)
by rudigrobler
Imagine for a second that you are writing an application like Outlook… let's call it MiMail.exe! This application is very basic and has 3 views that are relevant to me! I want to be able to see my mail, contacts and calendar!
by Christian Amado
A brief introduction to Metro Style App Development
by Brij
How to make use of the IsCrossPagePostBack property.
by Daniel Vaughan
Implementing field level change notification in WPF, and how a Lambda Expression can be used to specify a composite property that raises change notifications automatically whenever an associated property changes.
by Abhishek Sur
Load your XAML from external file or from String XML to start working on an existing application instantly using XamlReader and XamlWriter
by rudigrobler
Mahhala (isiZulu word for free or without charge) is a new series that showcase some of the cool free WPF/Silverlight controls available… “You can learn a lot by reading other people's source code. That's the idea behind this series.
by rudigrobler
WPF NotifyIcon
by rudigrobler
Make your WPF buttons color hot-track!
by rudigrobler
How to make the ApplicationBar bindable in a WP7 application.
by User 271009
Much improved .NET 4.0 WPF text rendering
by Kunal Chowdhury «IN»
Learn about Multi Column Text support in Silverlight 5 with a simple example
by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
by jmix90
When you create WPF applications, you may (or you should !) use the M-V-VM pattern and so have to use/create ViewModel.The viewModel job is mainly to expose properties of your businessObjects to your views, ready for binding. Here is a first solution to create ViewModel from your model.
by jmix90
How to integrate the Office Ribbon respecting the pattern (especially the commands)
by SteveAdey
This is an example to show the use of MVVM in creating a grouping listbox.
by SteveAdey
Setting up an MVVM application and some simple binding to text and commands.
by Nikos Baxevanis
This post aims to provide a way to implement the Model View ViewModel (MVVM) architectural pattern using Plain Old CLR Objects (POCOs) while taking full advantage of .NET 4.0 DynamicObject Class.
by Rahman Masudur
Avoiding scrolling for XBAP in IFrame.
by rudigrobler
I have seen so many people use FlowDocuments to create reports! This is really cool but what if you need a more complex reporting engine! Can it handle it? Can it be abstracted and reused! Do you have to start from scratch each time?
by rudigrobler
OutlookBar for WPF & Silverlight
by rudigrobler
OutlookBar for WPF & Silverlight
by John Michael Hauck
Design of the PanView custom control discussing both the C# and XAML that achieves the desired functionality
by Aron Weiler
Make any image in WPF pop up and hit you in the face!
by Ashish Kaila
In this tutorial, I will take a practical example of a card game and illustrate how to model a playing card in WPF and define templates for defining visual aspect of the card as per the sign and the value of the card.
by Sarath C
A simple Windows Phone 7 application
by Abhishek Sur
RegisterName for StoryBoards in WPF (NameScopes)
by kribo
Ribbon (WPF): ribbon:RibbonComboBox
by Gaston Verelst
How to send out regular notification updates using Azure Notification Hub
by rudigrobler
Simplified TextBox focus in WPF 4
by Leom Burke
An approach to skinning in WPF using Merged Resource Dictionaries
by Kunal Chowdhury «IN»
Some of the best practices you should follow while developing in WPF/Silverlight
by BC3Tech
Static Grid, Dynamic Content – Part 2: The Stragglers
by Manas_Patnaik
How to create a Style and attach it to a control in Silverlight.
by Kunal Chowdhury «IN»
In this small tip, I will guide you through changing the Style of Caret of a Silverlight TextBox control.
by Kunal Chowdhury «IN»
Using StringFormat to concatenate strings in Silverlight XAML.
by Kunal Chowdhury «IN»
How to format Silverlight TextBlock control
by Kunal Chowdhury «IN»
How to use Gradient Color Picker in Expression Blend?
by jmix90
In this post, we will see how to make a custom control fully useable in a Coded UI Tests scenario.
by DotNetForAll
The article will take you through the layout process in WPF.
by adityaswami89
This article will guide you if you want to create your own custom ORM or a wrapper over the ORM. This is only for demo towards the Unit of work pattern with Repository and a singleton Session class.
by zoyobar
Use the Bullet and BulletManager classes to create bullets and attack targets in XNA, WPXNA (15)
by jmix90
In this post, we'll discover how to access the template children by using the FindName method even on UserControl.
by Daniel Vaughan
IntroductionWith UWP and WinRT, Microsoft introduced a new means for localizability, which differs significantly from the method employed in Silverlight and .NET desktop apps.
by Rahman Masudur
Few tricks about using a Resource Dictionary in WPF
by zoyobar
Using Anime class to create animations in XNA, WPXNA (11)
by zoyobar
How to use the Button class to create Graphic buttons in XNA, WPXNA
by Colin Eberhardt
This technical blog post details a novel technique for leveraging the power of CSS selectors within WPF.
by zoyobar
How to use HitArea class for hit testing in XNA, WPXNA
by zoyobar
Using Label class to display text in XNA
by zoyobar
Using NPC and NPCManager to create NPC and custom actions in XNA, WPXNA (19)
by zoyobar
Using SceneLoader class to create loading screen in XNA
by Abhijit Jana
How to use Silverlight Chart Control with SharePoint 2010
by Daniel Vaughan
How to use T4 to generate Pack URIs for XAML files
by zoyobar
Using the AudioManager class to play sounds and music in XNA, WPXNA (5)
by zoyobar
Using the CommandScene class to create command scenes in the XNA, WPXNA (12)
by Timmy Kokke
Getting started with the basics of validation in Silverlight
by John Michael Hauck
In this post, I briefly discuss the design behind the VisibilityControl.
by John Michael Hauck
If you are interested in exploring alternatives to the BooleanToVisibiltyConverter, then this post is for you.
by Abu_yanal
What are we going to build
by Kunal Chowdhury «IN»
AppManifest.xaml in Silverlight
by Kunal Chowdhury «IN»
What is Character spacing in Silverlight 5 controls
by Paul_Wade
Windows Store apps and the Authentication Broker.
by Sacha Barber
WinRT : How to communicate with WebView Javascript from C# and vice versa
by Kunal Chowdhury «IN»
In this post, we will learn about various font sizes defined in the default style library of Windows Phone 7, so you don't have to define them again and can reuse those styles which will be standard sizes all over any Phone 7 Application
by Abhishek Sur
Working with ICollectionViewSource in WPF
by Manoj.Kumar12
I will dive into a way we can create reusable generic 2D grid which is bound to object collections.
by DotNetLead.com
Drag and drop behaviour in WPF
by kribo
WPF dynamic TabControl - TabItems
by Stephen Brannan
WPF Enumeration Data Provider
by Leung Yat Chun
I hope this rewrite can reduce the effort needed to implement other touch based code and other gesture.
by Koder Hack
The ContentTicker control is a generic control that can be used to slide content.
by Arik Poznanski
Back in this post I showed you how you can easily add a fade-in / fade-out effect to a UIElement that changes its Visibility property, using a simple attached property.Some people encountered a problem using this property when they bind the UIElement to a model which initially hides the control.
by mastermel
Here's a method I've found for centering a window to either its parent or the main window for the application, in WPF.
by Steve Psaltis
So how does one add a DataTrigger to a TextBlock and provide some default value?
by Ivan Krivyakov
Attribute order should not matter in XAML, but sometimes it does...
by Shweta Lodha
The differences between StaticResource and DynamicResource.
by Timmy Kokke
XAML Flyouts using Blend.
by User 271009
XAML Power toys for Visual Studio 2008 v5.0.0.1 released
by jmix90
A post about creating a PNG from an XAML file
by Sacha Barber
XAML: Binding to nullable enums with friendly names
by Alex Turok
XAML: Event Handlers for Templated Items of Collection Controls
by John Michael Hauck
Zeroing the center of a CompositeTransform