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 .