TAILIEUCHUNG - Pro WPF in C# 2010 phần 3

Tìm kiếm một tài liệu WPF tiếng việt thích hợp - Cũng giống như khi học các ngôn ngữ lập trình khác, thông thường chúng ta nên tìm một tài liệu tiếng Việt trược khi bắt tay vào đọc một tài liệu tiếng anh. Vì khi đọc xong tài liệu tiếng Việt thì chúng ta đã có một kiến thức nền tảng, do đó khi tiếp cận một tài liệu nước ngoài sẽ dễ dàng nắm bắt hơn. Vì thế quá trình học có thể được rút ngắn | CHAPTER 6 CONTROLS BorderThickness takes the width of the border in device-independent units. You need to set both properties before you ll see the border. Note Some controls don t respect the BorderBrush and BorderThickness properties. The Button object ignores them completely because it defines its background and border using the ButtonChrome decorator. However you can give a button a new face with a border of your choosing using templates as described in Chapter 17. Fonts The Control class defines a small set of font-related properties that determine how text appears in a control. These properties are outlined in Table 6-1. Table 6-1. Font-Related Properties of the Control Class Name Description FontFamily The name of the font you want to use. FontSize The size of the font in device-independent units each of which is 1 96 inch . This is a bit of a change from tradition that s designed to support WPF s new resolution-independent rendering model. Ordinary Windows applications measure fonts using points which are assumed to be 1 72 inch on a standard PC monitor. If you want to turn a WPF font size into a more familiar point size you can use a handy trick just multiply by 3 4. For example a traditional 38-point font is equivalent to 48 units in WPF. FontStyle The angling of the text as represented as a FontStyle object. You get the FontSyle preset you need from the static properties of the FontStyles class which includes Normal Italic or Oblique lettering. Oblique is an artificial way to create italic text on a computer that doesn t have the required italic font. Letters are taken from the normal font and slanted using a transform. This usually creates a poor result. FontWeight The heaviness of text as represented as a FontWeight object. You get the FontWeight preset you need from the static properties of the FontWeights class. Bold is the most obvious of these but some typefaces provide other variations such as Heavy Light ExtraBold and so on. FontStretch The .

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.