Click here to Skip to main content
15,885,767 members
Everything / Desktop Programming / XAML

XAML

XAML

Great Reads

by Daniel Vaughan
Calcium provides much of what one needs to rapidly build a multifaceted and sophisticated modular application. Includes a host of modules and services, and an infrastructure that is ready to use in your next application.
by Nick Polyak
This article explains the most important and basic concepts of Avalonia WPF-like multiplatform UI package.
by Alan Beasley
Explanation and examples of Additional Templates and Generated Content of a ListBox. Covering Layout, Transitions, and Animation.
by Dr. WPF
This article describes a new approach by which an element can remove its visual and logical relationships to its children while maintaining a conceptual parental relationship with those children.

Latest Articles

by Peter Sun (247)
Implement ChatGPT API in C# WPF with GPT3.5-turbo
by Chandru BK
This article will assume you have basic knowledge of C# and Xamarin Forms and shows how to implement the Xamarin Form Validations using simple Data Annotations applied on the models.
by Michael Chourdakis
A set of tools to create a new VCXPROJ file automatically
by vickyqu115
Control featuring design and animations specialized for mobile, but can be elegantly and structurally implemented using ListBox and Animation technologies available in WPF.

All Articles

Sort by Updated

XAML 

15 Apr 2019 by Abdelrahman El Kinani
Azure MySQL DB, how to design it, basic UWP todo demo
25 Nov 2010 by Abhijit Jana
How to use Silverlight Chart Control with SharePoint 2010
12 Jan 2018 by Abhishek Sur
Working with ICollectionViewSource in WPF
3 Oct 2010 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
16 Mar 2011 by Abhishek Sur
RegisterName for StoryBoards in WPF (NameScopes)
1 May 2017 by Abu_yanal
Adding Splash screen
28 Feb 2017 by Abu_yanal
What are we going to build
18 Oct 2014 by adityaswami89
A generic way of adding a table to Powerpoint using OpenXML
19 Oct 2014 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.
9 Dec 2014 by adityaswami89
Article on Validation in XAML applications with Fluent technique
12 Apr 2014 by Alex Turok
XAML: Event Handlers for Templated Items of Collection Controls
13 Apr 2010 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.
31 May 2011 by Arik Poznanski
A Customizable WPF MessageBox
20 May 2011 by Aron Weiler
Make any image in WPF pop up and hit you in the face!
17 Mar 2010 by Arun Jacob
This article shows how to implement INotifyPropertyChanged.
24 Dec 2010 by Ashish Kaila
How to dynamically bind value converters to elements in XAML
31 Oct 2011 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.
23 Oct 2015 by BC3Tech
Static Grid, Dynamic Content – Part 2: The Stragglers
29 Jul 2011 by Brij
How to make use of the IsCrossPagePostBack property.
23 Aug 2018 by Christian Amado
A brief introduction to Metro Style App Development
17 May 2009 by Colin Eberhardt
This technical blog post details a novel technique for leveraging the power of CSS selectors within WPF.
7 Nov 2009 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.
25 Nov 2009 by Daniel Vaughan
How to use T4 to generate Pack URIs for XAML files
20 Jul 2011 by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
26 Aug 2011 by Daniel Vaughan
The custom ProgressIndicatorProxy provides a simple way to harness the new ProgressIndicator from your XAML.
17 Jul 2012 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.
1 Oct 2015 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.
14 Apr 2010 by Derek Lakin
Creating a Custom View Mode that Supports a Template Selector
6 Apr 2009 by Derek Lakin
I'll show you how to implement a custom Style by implementing a custom message box.
20 Oct 2011 by Derek Lakin
Additional MessageBox features on Windows Phone 7.
7 Feb 2010 by Don Kackman
C# property class - Part 2
29 Jan 2012 by Don Kackman
A slightly less simple object browser for Windows phone 7
29 Jan 2012 by Don Kackman
A simple Silverlight object viewer
29 Sep 2015 by DotNetForAll
The article will take you through the layout process in WPF.
11 Nov 2020 by DotNetLead.com
Drag and drop behaviour in WPF
8 Feb 2011 by erik_nl
Building a control template/style for the tabControl to clone the office 2010 ribbon File look
10 May 2020 by Gaston Verelst
How to send out regular notification updates using Azure Notification Hub
13 Aug 2010 by Ivan Krivyakov
Attribute order should not matter in XAML, but sometimes it does...
3 Sep 2012 by Ivan Krivyakov
This simple trick stops the binding gremlins on their tracks, as only a dependency property can be their target.
27 Apr 2010 by jmix90
A post about creating a PNG from an XAML file
25 Feb 2010 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.
1 Mar 2010 by jmix90
When you want to make an object binding-aware you have two choices : implements INotifyPropertyChanged or creates DependencyProperties.
5 Oct 2010 by jmix90
How to integrate the Office Ribbon respecting the pattern (especially the commands)
7 Mar 2010 by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
12 Mar 2010 by jmix90
Here is the next episode of our serie MVVM - Creating ViewModel.
22 Sep 2010 by jmix90
A fast and easy tip about shadows and performance
14 Jun 2010 by jmix90
A problem you often meet when using MVVM is to get the selected items of an items control, especially Listbox
20 Sep 2010 by jmix90
In this post, we'll discover how to access the template children by using the FindName method even on UserControl.
21 Sep 2010 by jmix90
The expander control can be used in a lot of situations but the one proposed by default is quite "rigid".
4 Oct 2010 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.
25 Mar 2011 by jmix90
In this post, we will see how to make a custom control fully useable in a Coded UI Tests scenario.
15 Oct 2012 by John Michael Hauck
In this post, I briefly discuss the design behind the VisibilityControl.
15 Oct 2012 by John Michael Hauck
If you are interested in exploring alternatives to the BooleanToVisibiltyConverter, then this post is for you.
19 Oct 2012 by John Michael Hauck
Design of the PanView custom control discussing both the C# and XAML that achieves the desired functionality
22 Oct 2012 by John Michael Hauck
How to flatten a TransformGroup
8 Oct 2019 by John Michael Hauck
Zeroing the center of a CompositeTransform
23 Oct 2012 by John Michael Hauck
Adding CharmFlyout to Grid Apps
29 Oct 2012 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.
30 Jan 2012 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...
20 May 2011 by Koder Hack
The ContentTicker control is a generic control that can be used to slide content.
16 Sep 2011 by kribo
WPF dynamic TabControl - TabItems
16 Sep 2011 by kribo
Ribbon (WPF): ribbon:RibbonComboBox
30 Oct 2009 by Kunal Chowdhury «IN»
Here I will explain the feature & step by step process for implementing the Silverlight Out-Of-Browser functionality.
3 Aug 2010 by Kunal Chowdhury «IN»
Some of the best practices you should follow while developing in WPF/Silverlight
10 Oct 2010 by Kunal Chowdhury «IN»
In this small tip, I will guide you through changing the Style of Caret of a Silverlight TextBox control.
21 Nov 2010 by Kunal Chowdhury «IN»
How to Reposition a Silverlight Child Window?
2 Mar 2011 by Kunal Chowdhury «IN»
Color Highlighting in Visual Studio XAML page using ReSharper 6
6 Apr 2011 by Kunal Chowdhury «IN»
How to implement template binding in Silverlight custom control
13 Apr 2011 by Kunal Chowdhury «IN»
How to use Gradient Color Picker in Expression Blend?
7 May 2011 by Kunal Chowdhury «IN»
AppManifest.xaml in Silverlight
9 May 2011 by Kunal Chowdhury «IN»
How to format Silverlight TextBlock control
10 May 2011 by Kunal Chowdhury «IN»
Using StringFormat to concatenate strings in Silverlight XAML.
13 May 2011 by Kunal Chowdhury «IN»
What is Character spacing in Silverlight 5 controls
17 May 2011 by Kunal Chowdhury «IN»
Learn about Multi Column Text support in Silverlight 5 with a simple example
10 Jul 2011 by Kunal Chowdhury «IN»
Organizing custom control properties inside Visual Studio and Expression Blend
22 Jul 2011 by Kunal Chowdhury «IN»
How to create a different circular loader using XAML?
22 Jul 2011 by Kunal Chowdhury «IN»
How to create a circular loader using XAML?
7 Aug 2011 by Kunal Chowdhury «IN»
How to get rid of the XAML Design view inside Visual Studio IDE?
18 Aug 2011 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
25 Aug 2011 by Kunal Chowdhury «IN»
Crop an object using Expression Blend
21 Jan 2016 by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 1)
24 Feb 2016 by Kunal Chowdhury «IN»
How to build a simple Toast Notification in #UWP apps? (Part 2)
8 Feb 2011 by Leom Burke
An approach to skinning in WPF using Merged Resource Dictionaries
20 Jan 2011 by Leom Burke
Binding and styling text to a RichTextBox in WPF
26 Dec 2013 by Leung Yat Chun
I hope this rewrite can reduce the effort needed to implement other touch based code and other gesture.
12 Apr 2011 by Manas_Patnaik
Achieving a Twitter page like functionality using Element Binding in Silverlight.
14 Apr 2011 by Manas_Patnaik
How to create a Style and attach it to a control in Silverlight.
15 Apr 2011 by Manas_Patnaik
Debugging XAML Binding with Silverlight 5
11 Nov 2013 by Manoj.Kumar12
I will dive into a way we can create reusable generic 2D grid which is bound to object collections.
5 Jun 2012 by ManojKumar19
Hands on Lab for MVVM, Value Converter, XAML Binding, Delegate Command pattern, INotifyPropertyChange, Lambda Expression, LINQ etc. in Silverlight/WPF project
15 Jun 2009 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.
26 Oct 2020 by Matteo Prosperi
This post is the the second in a short series investigating somewhat exotic parts of .NET.
25 Dec 2018 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.
25 Nov 2013 by Nick Polyak
I continue a series of blog posts about implementing WPF concepts outside of WPF.
28 May 2014 by Nick Polyak
Data Templates implementation outside of WPF
27 Dec 2010 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.
9 May 2013 by Paul_Wade
Windows Store apps and the Authentication Broker.
9 Jul 2012 by Paulo Morgado
How to make XAML Content Globalizable when using value converters
12 Apr 2016 by Paulo Zemek
Infinite maps (for games or similar)
16 Apr 2009 by Pete O'Hanlon
How to have fun with fonts in WPF