Creation of UWP App-helloworld

Source: Internet
Author: User

Windows Phone development-building custom controls with blend In fact, every system control has its default style, we can see the specific control style in the code, today we use blend to construct the control, more simple than the modification of the control, the method is as follows:

We use the component Fillet button to illustrate the point. Describes the method of the blend widget custom control, which is simple.

1. Open Blend, create a new project first, or create it in VS and open with blend.

2. Select the rectangle to the left of the blend (you can also use the ellipse) and drag directly to the phone interface. Such as

3, we adjust the position of the rectangle, click on the rectangle, the right side will appear the property bar.

4, we want to do is rounded corner button, so we will turn the four corners of the rectangle into rounded corners, methods, change the values of RadiusX and radiusy, you can change the angle of the rectangle four radians.

5. After the shape is set, we choose the tool-the constituent control

6, we want to change to button, so select button.

7, click OK, we open its foreground code, the system created a button of a style, we can also be in this style can be modified.

8, that is, we create a rounded corner button.

There are a lot of controls that can be modified with blend, I'm just here to do a simple demonstration, you can change their own favorite control oh. (reprint please indicate from-it Dream Garden)

Creation of UWP App-helloworld

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.