Click here to Skip to main content
15,886,110 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 Title

XAML 

11 Mar 2014 by Prasanna Venkatesh . K
Writing a Windows store background app from the scratch
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
12 Apr 2017 by Dave “DWC” Curry
How to wire up drag+drop events through multiple objects.
27 Sep 2018 by Georgeutc
A very simple Resizable SplitView
7 Dec 2018 by Dirk Bahle
Making better use of the available UI space.
8 Jan 2017 by Nuwan Karunarathna
This a foldable content control for UWP platform.
22 Feb 2011 by İlkay İlknur
Silverlight Focusing Issue
18 Apr 2013 by Yvan Rodrigues
A simple but effective way for format bound data in XAML with the Windows Runtime
20 Feb 2013 by Pradeep Reddy S
Implementation of Accelerometer in WP8 applications.
24 Oct 2012 by Ramanujam Shankar
Show data in grid view control of Windows Stores App using web service or WCF
9 Mar 2011 by Mahmudul Haque Azad
Accessing image from Resource File in XAML markup
7 Oct 2015 by prince sanghi
How to create an Acordian view for ListView in XAML for Windows WPF, Store, Mobile Application
21 Dec 2017 by Peter Sun (247)
Demonstrate how to create WPF TrewView with multiple levels of HierarchicalDataTemplate from C# code-behind without XAML using MVVM for data binding
6 Oct 2014 by Shah Ankita
This code sample demonstrates how to set an alarm notification.
24 Sep 2015 by brain2cpu
The way x:Bind is (not) working in universal Windows applications
10 Mar 2014 by Malak Zia Nasir
Override the Windows Store app default splash screen with an animated one
8 Aug 2014 by Anis Derbel
The easiest way to animate your object using Storyboard
7 Aug 2020 by Jeff East
Implements automatic column width sizing based on item contents for ListViews using GridView
11 Jun 2012 by syncsivakumar
Behaviors and Triggers explained with samples.
11 Aug 2014 by Volodymyr Trubachov
Describes the approach to bind a group of radio buttons to a single property, regardless of the property type (enum, bool, int, string).
7 Jul 2013 by Amit_Mittal
An easy way to bind XAML with properties defined in code behind
9 Nov 2012 by Houssem_Dellai
14 Feb 2013 by Fredrik Zetterlund
BitmapImageExtension with NetworkCredentials.
15 Nov 2013 by Francisco T. Chavez
Bool to content converter
5 Aug 2014 by Anis Derbel
This tip will show the new way to browse photos with Windows Phone 8.1
18 Jun 2022 by Peter Sun (247)
Create a C# WPF app to read Twitter tweets and retweets via REST API with grouping related users / friends by categories. As a bonus, tweets can be saved in Azure / Cloud, and viewed in an Azure website.
25 Oct 2015 by Abhilash Raja
Building adaptive layout in a windows 10 app with relative panel and adaptive triggers
14 Feb 2015 by Dan Maroff
A custom ListView class that uses reflection to sort columns based on the DisplayMemberBinding's bound data type
5 Jul 2018 by Peter Sun (247)
Master-detail view navigation using manageable data-driven and code-behind techniques
15 Oct 2012 by Houssem Dellai
Developing a Windows Phone app step by step
16 Feb 2024 by Peter Sun (247)
Implement ChatGPT API in C# WPF with GPT3.5-turbo
21 Jun 2012 by Santhosh Kumar Jayaraman
Silverlight doesn't have a ListBox control with a checkbox. In this article, I describe how to achieve that functionality in Silverlight using MVVM.
30 May 2013 by Mitesh k Prajapati
This is a WPf circular indeterminate progressbar and you can use this in your application for loading processes which are in an indeterminate state.
27 Feb 2013 by Fun@learn
Lightweight approach to close view from viewmodel command.
12 Nov 2014 by Shah Ankita
This code sample demonstrates how to set color to any control using colorpicker. For this, you have to create a new Windows phone app.
5 Aug 2014 by Anis Derbel
The easy way to connect to Mysql using Wamp server on WPF
25 Nov 2015 by Zain Nisar
Create "Sign Up Page" using Toolbar and Navigation feature
2 Mar 2014 by Ruzli999
How to create Animation using separated Images
28 Nov 2015 by Zain Nisar
How to create visual states and what is state group?
11 Feb 2015 by Mohit Johri
This tip will help you to display data using XamDataPresenter (or any DataGrid) which will have multi-header column.
21 Nov 2015 by Umer Qureshi
Creating an animation using blend instead of writing the XAML yourself
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
11 Jun 2015 by Lance Contreras
Create an easily resusable IconBlock (TextBlock that display's an icon)
13 Oct 2015 by Azim Zahir
This tip explains how you can create animated gradients in a Windows store app using DispatcherTimer.
19 Feb 2013 by AesopTurtle
Mimic a loading animation as seen in Windows 8 using pure XAML.
16 Dec 2015 by Zain Nisar
How to create Custom Control in Blend 2015
7 Feb 2017 by shahidul.haq
A WPF custom control for grouping data similar to build-in expander
13 Jul 2012 by Opata Chibueze
This tip demonstrates how to wrap text in WPF - similar to using &shy or
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 2015 by Zain Nisar
How to create Data Binding?
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
6 Aug 2013 by Ced743
DataGrid column separator
18 Jan 2013 by Tawani Anyangwe
A dead simple HTML Sanitizer (and HTML Parser) you can use to clean user HTML input.
7 Jan 2011 by Venkatesh Mookkan
Debugging XAML DataBinding
9 May 2013 by Vinoth Kumar J
Designer debugging in WinRT
25 Sep 2013 by Punamchand Dhuppad
In this tip we will talk about how to apply the same font style to TextBlock and Glyphs controls from code-behind.
17 Dec 2015 by Umer Qureshi
A tip explaining the difference between Stackpanel and a Grid layout in WPF
26 Mar 2013 by Jawahar Suresh Babu
The article explains how to add variable sized tile items into WinRT GridView.
7 Jan 2011 by Venkatesh Mookkan
Databinding Concept in WPF
4 Aug 2014 by Anis Derbel
This sample is based on Drag and Drop between GridView
20 Sep 2013 by rohini.chiniwal
This tip defines a way to make a TextBlock trimming and display the whole text on mouse hover with animation effect.
28 Mar 2012 by Sujeet Bhujbal
Article on dynamically generating Forms in WPF and Silverlight.
26 Nov 2013 by Feverbird
This is an easy to use class that will help you in creating and reading XMLfiles.
18 Jun 2020 by SoundersFan
How to edit templates in VS XAML without the bloat
8 Feb 2016 by StormyDev
Simple and clean-cut label that user can edit text of during run-time (by double-clicking) which I wrote because the examples I found were either obsolete or added clutter to the interface.
3 Jan 2015 by Ajit_Pudale
Tip to add EmptyDataTemplate in WPF or Silverlight DataGrid
30 Apr 2013 by Farhan Ghumra
Encypt and decrypt StorageFile in Windows Store apps.
26 Jan 2015 by Divikiran
Exception has been thrown by the target of an invocation using Visual Studio and TFS
15 Jan 2014 by Shweta Lodha
How to troubleshoot data binding
13 Mar 2018 by Slim Hammami
This is a tutorial which contains the finger print authentication using Xamarin Forms
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.
14 Dec 2013 by Shweta Lodha
How to format strings in binding
12 Apr 2010 by jmix90
When you read the MSDN guidelines to improce WPF's performances you can find that it's a good idea to freeze Freezable objects.It's a quite easy thing to do via the code but it's quite harder to do it directly in the XAML. In this post we will see how to do so.What are freezable...
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.
11 Aug 2014 by Anis Derbel
The easiest way to drag and drop Image using Gestlure
16 May 2015 by Mark Heath
Learn how to get started with MahApps.Metro, an open source library for giving your WPF applications a modern look and feel.
25 Nov 2013 by dietmar paul schoder
How to produce a dynamic lined or squared background on a canvas/grid
21 Dec 2014 by Divesh P
This tip explains how to create LongListSelector with grouping in very simple and easy steps.
24 Apr 2014 by Cuba Cubicula
Attached behavior that saves control's template in a file as XAML
24 Nov 2010 by GPUToaster™
Include Windows Form Controls in WPF
25 Oct 2013 by Erxin
Introduce a simple way to embed an EXE into a WPF window application.
7 Nov 2013 by Lance Contreras
How to add columns to a DataGrid through binding and map its cell values
1 Apr 2020 by Vassili Kravtchenko-Berejnoi
A generic workaround for auto-generating multiple custom columns in a WPF DataGrid in case where the data class has multiple properties of the same type
27 Dec 2017 by Alberto M.
How to control TP-Link Smart Plug (HS100 or HS110) with C#
1 Dec 2015 by Umer Qureshi
How to create a Custom Control so it can be used later and how to give access to some of it properties
5 Aug 2014 by Anis Derbel
you can now crop Image with specified size equally
20 Oct 2015 by Manish Dubeyy
How to debug the design time errors in WPF XAML file?
30 Apr 2010 by umangsain
Thanks for providing the coding, i am also searching for the same content and now i need not to search any where.bike authorized dealers
29 Jul 2011 by gsvolt
Draing a two-color line in Silverlight.
26 May 2018 by Vladan.Obradovic
How to easily write a user's guide for your application using different file extensions
19 Jul 2015 by KADJINA Toyi
This sample is about hiding automatically datagrid columns when all rows of this column are empty.NB: The following code is for silerlight 5 and can be readapt for WPF