Lecture 4th: VSM and Behavior

Source: Internet
Author: User
Tags visual studio 2010

2010.11.4 su Peng

Content

-Basic concepts of VSM

-VSM implementation

-Behavior Development

 

Prerequisites

-Install Visual Studio 2010

-Install Expression Blend4

-Install Silverlight tools for Visual Studio 2010

-Animation in Blend4

 

What is VSM?

-Visual status Manager

-Why?

-What conveniences are provided?

VSM is actually the object Layer of Silverlight, that is, the object manager provided by the UIElement layer. It can be used to customize all the attributes of the style, position, and appearance of all UI elements. It can use several VSM objects to record object statuses.

 

Simple VSM Application

-A special button

 

Blend4 complete VSM example

-Demo VSM instance

 

What is Behaviors?

Behaviors is mainly used to encapsulate some existing operations.

 

Behavior usage

-Encapsulate repeated actions for Reuse

-Demo

Associate two images

Use GoToStateAction to trigger an animation event

Create a new ListBox display template

Drag and Drop supported

 

Summary

-Basic concepts of VSM

-VSM implementation

-Behavior Development

2010.11.17

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.