Explicações passo a passo: Criar um botão animado personalizado
As its name suggests, Windows Presentation Foundation (WPF) is great for making rich presentation experiences for customers. These walkthroughs show you how to customize the look and behavior of a button (including animations). This customization is done using a style and template so that you can apply this custom button easily to any buttons in your application. The following illustration shows the customized button that you will create.
Gráficos vetoriais que compõem a aparência do botão são criados usando Extensible Application Markup Language (XAML). XAML é semelhante a HTML, exceto que ele é mais poderoso e extensível. Extensible Application Markup Language (XAML) podem ser digitados em manualmente usando o Microsoft Visual Studio ou o bloco de notas, ou você pode usar uma ferramenta design visual sistema autônomo o Microsoft expressão Blend. Expression Blend works by creating underlying XAML code, so both methods create the same graphics.
Nesta seção
Demonstra Passo a passo: Create a Button by Using Microsoft Expression Blend
Demonstrates how to create buttons with custom behavior by using the designer features of Expression Blend.Demonstra Passo a passo: Criar um botão usando XAML
Demonstrates how to create buttons with custom behavior by using XAML and Visual Studio.
Seções relacionadas
Styling and Templating
Describes how styles and templates can be used to determine the appearance and behavior of controls.Revisão de Animação
Describes how objects can be animated by using the WPF animation and timing system.Painting with Solid Colors and Gradients Overview
Describes how to use brush objects to paint with solid colors, linear gradients, and radial gradients.Visão Geral de Efeitos de Bitmap
Describes the bitmap effects supported by WPF and explains how to apply them.