About 128,000 results
Open links in new tab
  1. The Canvas control - The complete WPF tutorial

    WPF has a bunch of controls that you can place inside a Canvas, to make nice illustrations. In the next example, we'll use a couple of the shape related controls of WPF to illustrate another very …

  2. Using Canvas in WPF - HubPages

    Quickly learn how to use the Canvas element in WPF! Every platform has a canvas, and that is its own kind of canvas. Every canvas feature is tricky, but at the same time quite useful. For this …

  3. Canvas Class (System.Windows.Controls) | Microsoft Learn

    Canvas is a top-level layout control that you can use for absolute positioning of child content. For painting and drawing, you use brushes and do not have to use a Canvas. For more …

  4. wpf - How do I create a canvas in c#? - Stack Overflow

    Oct 2, 2020 · public class Canvas : System.Windows.Controls.Panel. // Create the application's main window. mainWindow = new Window(); mainWindow.Title = "Canvas Sample"; // Create …

  5. Canvas In WPF - C# Corner

    In this article, you will learn how to use a WPF Canvas panel using XAML and C#.

  6. Mastering the C# WPF Canvas: A Comprehensive Guide - Web …

    Aug 20, 2024 · When it comes to building rich and interactive user interfaces in C# using WPF (Windows Presentation Foundation), the Canvas control plays a crucial role. The Canvas …

  7. how-to-create-and-use-a-canvas.md - GitHub

    Learn how to create and use a canvas, by means of the included code examples in C# and Visual Basic. This example shows how to create and use an instance of …

  8. Canvas How-to Topics - WPF | Microsoft Learn

    May 6, 2025 · Learn how to use the Canvas element to absolutely position child elements, by means of the collection of links in this article.

  9. Canvas Control In WPF - C# Corner

    In this article, we learned how to use a Canvas panel and the properties used to position child control. Canvas panel is the simplest amongst other panels in WPF. It is famous because of its …

  10. c# - Layering Multiple Canvases in WPF - Stack Overflow

    Sep 27, 2013 · Use a DataTemplate to control how each item is visually represented on the canvas. Alternatively, you could use multiple DataTemplate s and use a DataTemplateSelector …

Refresh