mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +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.7 KiB
1.7 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||
|---|---|---|---|---|---|---|---|---|
| How to: Animate a BorderThickness Value | 03/30/2017 |
|
|
fd021978-f74b-4e7b-a7f7-3987dcad9e0f |
How to: Animate a BorderThickness Value
This example shows how to animate changes to the thickness of a border by using the xref:System.Windows.Media.Animation.ThicknessAnimation class.
Example
The following example animates the thickness of a border by using xref:System.Windows.Media.Animation.ThicknessAnimation. The example uses the xref:System.Windows.Controls.Border.BorderThickness%2A property of xref:System.Windows.Controls.Border.
[!code-csharpBasicAnimations_snip#ThicknessAnimationWholePage] [!code-vbBasicAnimations_snip#ThicknessAnimationWholePage]
For the complete sample, see Animation Example Gallery.