mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-08 16:06:07 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.0 KiB
1.0 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|
| How to: Wrap a Border Around the Content of a Canvas | 03/30/2017 |
|
caf0404f-f4e7-484f-9928-5dae1238d8ef |
How to: Wrap a Border Around the Content of a Canvas
This example shows how to wrap a xref:System.Windows.Controls.Canvas element with a xref:System.Windows.Controls.Border.
Example
The following example shows how to display Hello World! inside a xref:System.Windows.Controls.Canvas element. The xref:System.Windows.Controls.Canvas element is wrapped by a xref:System.Windows.Controls.Border element so that a border outlines the element.
[!code-xamlCanvasHelloWorldBorder#1]