TAILIEUCHUNG - Microsoft Visual C# 2010 Step by Step (P2)

Tham khảo sách 'microsoft visual c# 2010 step by step (p2)', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 20 Part I Introducing Microsoft Visual C and Microsoft Visual Studio 2010 Note The XAML description of the form in the lower pane now includes the label control together with properties such as its location on the form governed by the Margin property. The Margin property consists of four numbers indicating the distance of each edge of the label from the edges of the form. If you move the control around the form the value of the Margin property changes. If the form is resized the controls anchored to the form s edges that move are resized to preserve their margin values. You can prevent this by setting the Margin values to zero. You learn more about the Margin and also the Height and Width properties of WPF controls in Chapter 22 Introducing Windows Presentation Foundation. 4. On the View menu click Properties Window. If it was not already displayed the Properties window appears on the lower right side of the screen under Solution Explorer You can specify the properties of controls by using the XAML pane under the Design View window. However the Properties window provides a more convenient way for you to modify the properties for items on a form as well as other items in a project. It is context sensitive in that it displays the properties for the currently selected item. If you click the title bar of the form displayed in the Design View window you can see that the Properties window displays the properties for the form itself. If you click the label control the window displays the properties for the label instead. If you click anywhere else on the form the Properties window displays the properties for a mysterious item called a grid. A grid acts as a container for items on a WPF form and you can use the grid among other things to indicate how items on the form should be aligned and grouped together. 5. Click the label control on the form. In the Properties window locate the FontSize property. Change the FontSize property to 20 and then in the Design View window .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.