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

16 Feb 2024 by Peter Sun (247)
Implement ChatGPT API in C# WPF with GPT3.5-turbo
31 Aug 2023 by Sergey Alexandrovich Kryukov
Improvements used to fix an annoying WPF MenuItem defect related to icons
9 Feb 2023 by Stanko Milošev
How to either migrate to the new XAML designer extensibility or write WPF custom control extensibility model based on .designtools.dll.
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.
7 Aug 2020 by Jeff East
Implements automatic column width sizing based on item contents for ListViews using GridView
4 Jul 2020 by MarkWardell
An aid to Port WPF Framework Applications to .NET Core 3.1
18 Jun 2020 by SoundersFan
How to edit templates in VS XAML without the bloat
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
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.
11 Jan 2019 by Harshit Gindra
Check and request for Permissions in Xamarin Forms mobile application
7 Dec 2018 by Dirk Bahle
Making better use of the available UI space.
12 Nov 2018 by Silvia Campo
How to organize the container
30 Oct 2018 by Carsten Breum
Data Virtualization example with a pagesize and async data request
27 Sep 2018 by Georgeutc
A very simple Resizable SplitView
5 Jul 2018 by Peter Sun (247)
Master-detail view navigation using manageable data-driven and code-behind techniques
20 Jun 2018 by Clifford Nelson
This behavior will select the entire text when a TextBox or PasswordBox gains focus
26 May 2018 by Vladan.Obradovic
How to easily write a user's guide for your application using different file extensions
2 May 2018 by Clifford Nelson
The tip provides a behavior that will set a control to a default value when the Visibility changes
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.
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.
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
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
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.
25 Mar 2018 by Matej Pavlů
Creating a replacement for missing TileBrush known from WPF.
25 Mar 2018 by Matej Pavlů
Creating a replacement for missing TileBrush known from WPF
13 Mar 2018 by Slim Hammami
This is a tutorial which contains the finger print authentication using Xamarin Forms
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.
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.
29 Dec 2017 by wim4you
Show UniformGrid and scroll through a few thousand images, UI virtualization
27 Dec 2017 by Alberto M.
How to control TP-Link Smart Plug (HS100 or HS110) with C#
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
18 Nov 2017 by Herbert Lausmann
Convert between over 100 different currencies in .NET using Yahoo's APIs
13 Nov 2017 by Herbert Lausmann
Icon Pro - A C# + WPF open source tool for creating windows icons from PNG images or SVG vectors
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.
25 Jul 2017 by ShantanuKulkarni3
Introduction to WPF DrawingContext api
6 Jul 2017 by Alexander Sharykin
No more Template copies
12 Apr 2017 by Dave “DWC” Curry
How to wire up drag+drop events through multiple objects.
6 Apr 2017 by Sergey Alexandrovich Kryukov
Focused TextBox blocks Undo/Redo invocation of other components, but the problem can be solved comprehensively
14 Mar 2017 by Nomesh G
Adding Validation to controls in WPF
7 Feb 2017 by shahidul.haq
A WPF custom control for grouping data similar to build-in expander
8 Jan 2017 by Nuwan Karunarathna
This a foldable content control for UWP platform.
29 Jun 2016 by Praveen_Kumar Gupta
with the help of this article developer can add gridlines on canvas , and with slider control resize them easily
4 Apr 2016 by VR Karthikeyan
Vector icons in WPF
26 Mar 2016 by Sumit Samediya
Here we will learn how to remove default background color of ListBox item on selection in Windows Universal App
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
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
15 Feb 2016 by Aaron Amberman
Advanced custom logical and visual tree walking methods
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.
11 Jan 2016 by hesido
A super simple method for listing Enum members in WPF using databinding
6 Jan 2016 by Luis Manuel Prospero Mano Batista
Another simple way to bind one Enumeration to a Combobox or to a Listbox
4 Jan 2016 by Steve 262877418
Different resource paths using in WPF XAML file
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.
17 Dec 2015 by Umer Qureshi
A tip explaining the difference between Stackpanel and a Grid layout in WPF
16 Dec 2015 by Zain Nisar
How to create Custom Control in Blend 2015
14 Dec 2015 by Gregory Morse
Implementing a complete WRL native C++ XAML blank project template
10 Dec 2015 by Luis Manuel Prospero Mano Batista
XAML Gauge Control for Universal Applications, Windows 8.1 (Desktop/Windows Phone), WPF, Silverlight
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.
1 Dec 2015 by Umer Qureshi
How to bind data in a simple way without writing any code
1 Dec 2015 by Umer Qureshi
Explains how to navigate among pages with button clicks
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
28 Nov 2015 by Zain Nisar
How to create visual states and what is state group?
25 Nov 2015 by Zain Nisar
How to create Data Binding?
25 Nov 2015 by Zain Nisar
Create "Sign Up Page" using Toolbar and Navigation feature
21 Nov 2015 by Umer Qureshi
Creating an animation using blend instead of writing the XAML yourself
17 Nov 2015 by PyroStrex
Example of loading external scripting and external XAML with VB.NET and NeoLua
25 Oct 2015 by Abhilash Raja
Building adaptive layout in a windows 10 app with relative panel and adaptive triggers
20 Oct 2015 by Manish Dubeyy
How to debug the design time errors in WPF XAML file?
13 Oct 2015 by Azim Zahir
This tip explains how you can create animated gradients in a Windows store app using DispatcherTimer.
7 Oct 2015 by prince sanghi
How to create an Acordian view for ListView in XAML for Windows WPF, Store, Mobile Application
26 Sep 2015 by Piyush Manharlal
Using integer instead of Enum for ComboBox and Radio Button in XAML
24 Sep 2015 by brain2cpu
The way x:Bind is (not) working in universal Windows applications
10 Sep 2015 by Avtar Sohi
Objective of this article is to demystify the deferred loading concept in XAML.
16 Aug 2015 by Houssem_Dellai
Get the resources you need to start developing Windows 10 apps.
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.
2 Aug 2015 by Reader Man San
Plug-in Architecture To Work in WinForms MVC + WPF MVVM + ASP.NET MVC + Mobile (Xamarin MVC/PhoneGap MVC) + Win 10 Universal App MVC
30 Jul 2015 by SujayC
This tip demonstrates how easy it is to implement validations in your WPF Application based on MVVM pattern.
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
19 Jul 2015 by Ajcek84
Overview of music notation library
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.
1 Jul 2015 by 1sumitanand
Sorting of simple ListView Elements in Ascending/Descending Order
30 Jun 2015 by 1sumitanand
This tip is for newbie developers.
11 Jun 2015 by Lance Contreras
Create an easily resusable IconBlock (TextBlock that display's an icon)
31 May 2015 by Alaa Ben Fatma
Choose your text maximum length programmatically and show a message whenever the length = the maximum length
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.
30 Mar 2015 by lally727
Running multiple animations in one WPF XAML
5 Mar 2015 by MatthewThomas
Adding a watermark to a WPF TextBox by only using XAML. No extensions. No Converters.
15 Feb 2015 by K K Srinivasan
Focus on WPF Novice, to do Data Validation using INotifyDataErrorInfo interface easily
14 Feb 2015 by Dan Maroff
A custom ListView class that uses reflection to sort columns based on the DisplayMemberBinding's bound data type
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.
6 Feb 2015 by Richard Deeming
This is an alternative for "Markup Extension for Generic classes"
31 Jan 2015 by Mayur Shah
Markup Extension that allows you to declare Generic classes in Xaml
26 Jan 2015 by Divikiran
Exception has been thrown by the target of an invocation using Visual Studio and TFS
10 Jan 2015 by dietmar schoder
Poisson disc algorithm: fundamental C# classes and methods for the artwork production in the area of generative art.
6 Jan 2015 by Saad_Mahmood
Unleashing Path List Box using Expression Blend
3 Jan 2015 by Ajit_Pudale
Tip to add EmptyDataTemplate in WPF or Silverlight DataGrid
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.
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.