Click here to Skip to main content
15,881,380 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 

30 Jun 2015 by 1sumitanand
This tip is for newbie developers.
1 Jul 2015 by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
15 Feb 2016 by Aaron Amberman
Advanced custom logical and visual tree walking methods
25 Oct 2015 by Abhilash Raja
Building adaptive layout in a windows 10 app with relative panel and adaptive triggers
9 Dec 2014 by Abhishek Shrivastava
Simple trick to provide compile time safety for client side classes using INotify to notify when property changes (used generally by XAML bindings)
28 Feb 2016 by adityasahver
In this article, we will learn how to create an Tile/Page in the MS Band and trigger the details on the associated device
19 Feb 2013 by AesopTurtle
Mimic a loading animation as seen in Windows 8 using pure XAML.
19 Jul 2015 by Ajcek84
Overview of music notation library
3 Jan 2015 by Ajit_Pudale
Tip to add EmptyDataTemplate in WPF or Silverlight DataGrid
31 May 2015 by Alaa Ben Fatma
Choose your text maximum length programmatically and show a message whenever the length = the maximum length
27 Dec 2017 by Alberto M.
How to control TP-Link Smart Plug (HS100 or HS110) with C#
6 Jul 2017 by Alexander Sharykin
No more Template copies
28 Jul 2014 by alexbk66
Reusable WPF RadioButton control which takes the pain away
7 Jul 2013 by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
4 Aug 2014 by Anis Derbel
This sample is based on Drag and Drop between GridView
5 Aug 2014 by Anis Derbel
This tip will show the new way to browse photos with Windows Phone 8.1
5 Aug 2014 by Anis Derbel
The easy way to connect to Mysql using Wamp server on WPF
5 Aug 2014 by Anis Derbel
you can now crop Image with specified size equally
5 Aug 2014 by Anis Derbel
Link between Accelerometer and composant in xaml
6 Aug 2014 by Anis Derbel
Get information of any website you want
7 Aug 2014 by Anis Derbel
The easy way to Reorder your DataGrid/ListBox with Drag and Drop
8 Aug 2014 by Anis Derbel
The easiest way to animate your object using Storyboard
11 Aug 2014 by Anis Derbel
The easiest way to drag and drop Image using Gestlure
2 Feb 2014 by AnobikDey
A description of how images and other controls can be rotated and used to give 3d Effect in Windows Store Apps
28 Feb 2011 by Anton Lesnichenko
Add AllowsTransparency="True" and there will not be a border.
10 Sep 2015 by Avtar Sohi
Objective of this article is to demystify the deferred loading concept in XAML.
13 Oct 2015 by Azim Zahir
This tip explains how you can create animated gradients in a Windows store app using DispatcherTimer.
28 Jan 2014 by Borja Prado
How to convert slider thumb tooltip value
24 Sep 2015 by brain2cpu
The way x:Bind is (not) working in universal Windows applications
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
28 Apr 2011 by CDP1802
Serializing and deserializing objects with XamlServices class
6 Aug 2013 by Ced743
DataGrid column separator
10 Oct 2013 by Ced743
Imbricated ItemsControl (a list into another list) to make a table
9 Jul 2012 by Christian Amado
In this tutorial, we will discuss on ProgressBar & Background worker. Follow the step-by-step tutorial to know how to use these clases.
17 Jun 2014 by cjb110
A String To Brush Converter for WPF/Silverlight
6 Jun 2012 by Clifford Nelson
A little trick that will more completely fill the DatePicker background from the code-behind.
9 Aug 2015 by Clifford Nelson
This tip provides an alternate way to combine data with text in a WPF control using a ValueConverter that could be considered easier.
5 Dec 2015 by Clifford Nelson
This tip presents a ValidationAttribute that can be applied to enumeration properties. The normal RequiredValidationAttribute normally works but if numbers are assigned to the enumeration values, the default value is zero and that may not be valid.
19 Dec 2015 by Clifford Nelson
It is not straight forward to change the row selected and hover colors on the Telerik RadGridView. This is a ControlTemplate that works, and works with the detail pane.
3 Mar 2018 by Clifford Nelson
This tip presents a way to use the ContentControl and DataTemplate to easily control an image in a Window.
3 Apr 2018 by Clifford Nelson
Normally a popup will stay open until explicitly closed. The Behavior will close the Popup if the mouse is clicked within or outside the Popup area or leaves the Popup area.
5 Apr 2018 by Clifford Nelson
Normally, there is no need to ensure that types exactly match when using a Binding. For instance, the Control property double to and int in a ViewModel
9 Apr 2018 by Clifford Nelson
Shows how to set DataContext of View to itself using XAML and discusses the advantages of INotifyPropertyChanged to DependencyProperty
18 Apr 2018 by Clifford Nelson
I had a situation where a control appearing was significantly affected by the initialization of the UserControls. This behavior fixed my problem.
27 Apr 2018 by Clifford Nelson
This is a behavior that that will reset ToggleButton derived controls to false (or a specified default value) when the container's visibility becomes false.
2 May 2018 by Clifford Nelson
The tip provides a behavior that will set a control to a default value when the Visibility changes
20 Jun 2018 by Clifford Nelson
This behavior will select the entire text when a TextBox or PasswordBox gains focus
31 Mar 2014 by comiscience
Improve WPF performance with RenderOptions and TextOptions
30 Apr 2014 by Csaba Fábián
An open source library of Linq operators on ObservableCollection
24 Apr 2014 by Cuba Cubicula
Attached behavior that saves control's template in a file as XAML
25 Aug 2017 by Cédric Bourgeois
How to make it easier to manage StyleSelector and TemplateSelector with AvalonDock, especially when the selection is based on the ViewModel type only.
14 Feb 2015 by Dan Maroff
A custom ListView class that uses reflection to sort columns based on the DisplayMemberBinding's bound data type
12 Apr 2017 by Dave “DWC” Curry
How to wire up drag+drop events through multiple objects.
10 Apr 2012 by Deepak_Sharma_
In this article I will explain how to display data from a SQL Server database table in a WPF DataGrid control
25 Nov 2013 by dietmar paul schoder
How to produce a dynamic lined or squared background on a canvas/grid
29 Dec 2014 by dietmar schoder
Turtle graphics: fundamental C# classes and methods for the artwork production in the area of generative art.
1 Jan 2015 by dietmar schoder
Read and analyse pixels: fundamental C# classes and methods for the artwork production in the area of generative art.
2 Jan 2015 by dietmar schoder
Image sections and images: fundamental C# classes and methods for the artwork production in the area of generative art.
10 Jan 2015 by dietmar schoder
Poisson disc algorithm: fundamental C# classes and methods for the artwork production in the area of generative art.
21 Nov 2013 by Dirk Bahle
A message box service implementation that is based on WPF.
7 Dec 2018 by Dirk Bahle
Making better use of the available UI space.
21 Dec 2014 by Divesh P
This tip explains how to create LongListSelector with grouping in very simple and easy steps.
26 Jan 2015 by Divikiran
Exception has been thrown by the target of an invocation using Visual Studio and TFS
11 Jul 2015 by ergohack
This SQLite Data Object Window base class automates the data updates and the data bindings between the XAML presentation and the SQLite database allowing the minimum of code needed to present and edit SQLite database records.
19 Jan 2018 by ergohack
This roguish way of moving a WorkItem, directly 'in-place', through SQL leaves all of the previous data associations intact, but portends issues with future major updates and current TFS Data Warehousing.
25 Oct 2013 by Erxin
Introduce a simple way to embed an EXE into a WPF window application.
30 Apr 2013 by Farhan Ghumra
Encypt and decrypt StorageFile in Windows Store apps.
26 Nov 2013 by Feverbird
This is an easy to use class that will help you in creating and reading XMLfiles.
15 Nov 2013 by Francisco T. Chavez
Bool to content converter
14 Feb 2013 by Fredrik Zetterlund
BitmapImageExtension with NetworkCredentials.
27 Feb 2013 by Fun@learn
Lightweight approach to close view from viewmodel command.
27 Sep 2018 by Georgeutc
A very simple Resizable SplitView
2 Dec 2013 by Gerald Gomes
A very simple example of displaying validation error next to controls in WPF
24 Nov 2010 by GPUToaster™
Include Windows Form Controls in WPF
14 Dec 2015 by Gregory Morse
Implementing a complete WRL native C++ XAML blank project template
27 Feb 2016 by Gregory Morse
Deriving VirtualizingPanel and OrientedVirtualizingPanel is not possible in WinRT but using some calculation strategies, an efficient emulation is possible
29 Jul 2011 by gsvolt
Draing a two-color line in Silverlight.
11 Jan 2019 by Harshit Gindra
Check and request for Permissions in Xamarin Forms mobile application
24 Jan 2019 by Harshit Gindra
This article with help monetize your Xamarin Forms app using Google Admob. This article shares different implementations for Xamarin.iOS and Xamarin.Android.
13 Nov 2017 by Herbert Lausmann
Icon Pro - A C# + WPF open source tool for creating windows icons from PNG images or SVG vectors
18 Nov 2017 by Herbert Lausmann
Convert between over 100 different currencies in .NET using Yahoo's APIs
11 Jan 2016 by hesido
A super simple method for listing Enum members in WPF using databinding
15 Oct 2012 by Houssem Dellai
Developing a Windows Phone app step by step
9 Nov 2012 by Houssem_Dellai
16 Jan 2013 by Houssem_Dellai
Developing the client and server side for a chat application.
21 Oct 2013 by Houssem_Dellai
Reduce the number of properties in the View-Model by using ObservableCollection
2 Apr 2014 by Houssem_Dellai
We'll see how SystemTray properties can help you design nifty apps
12 May 2014 by Houssem_Dellai
Cached images will still be in memory even when navigated to another page, I'll suggest some workaround.
16 Aug 2015 by Houssem_Dellai
Get the resources you need to start developing Windows 10 apps.
8 Sep 2011 by Ian Landicho
A simple combo box that will have predefined items but the selected value bound to a property from our View Model.
22 Feb 2011 by İlkay İlknur
Silverlight Focusing Issue
28 Dec 2013 by immortalus
This is an alternative for "Scroll Synchronization"
21 Jul 2012 by isenthil
How to play a sound in Windows Phone using media element
24 Jan 2012 by Jack Z. Stone
How to use Xaml.XamlServices to serialize or deserialize a DependencyObject.
26 Mar 2013 by Jawahar Suresh Babu
The article explains how to add variable sized tile items into WinRT GridView.