Expression Blend Example Chinese tutorial (6)

Source: Internet
Author: User
Tags silverlight

As we have described before, Microsoft has roughly divided Silverlight controls into three categories:

First Category: Layout Controls (Layout control)

Category II: Item Controls (Project control)

Category III: User interaction Controls (UI control)

We have described the application of the first type of layout control in blend. This article describes the item Controls, also known as the project control, and the user interaction Controls, also known as the Users interaction control.

Item Controls (Project control)

In actual projects, we often encounter situations where data collections or arrays are processed, and the best way to work with data collections is to use "Binding" bindings. As you know, in ASP. NET, has applied the concept of "Binding" binding, its advantage is to save a lot of development time, reduce the difficulty of development. In Silverlight, Microsoft strengthens the binding feature and uses the item Controls (project control) to display and process data collections and array type data. Silverlight provides four standard project controls, namely Listbox,combobox,tabcontrol and TreeView. Next, I'll show you how to use these controls in blend.

As described above, you first need to bind the data before using item controls, and the binding data needs to have the relevant data source, so we need to define the data source first. This article still uses the previous routine Silverlightblenddemo to create a new usercontrol,itemcontrolsdemo.xaml on the Silverlight client.

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.