TAILIEUCHUNG - Manning Windows Forms Programming (phần 13)

Tham khảo tài liệu 'manning windows forms programming (phần 13)', 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ả | Figure This chapter will discuss many of the terms and classes related to data grids. O Caption Displays a short string describing the table. 0 DataGridTableStyle class Used to customize the appearance and behavior of tables. DataGridColumnStyle class Used to customize the order appearance and behavior of columns. The framework supports text and boolean columns by default. 0 Row Header The area in front of a row. The small triangle indicates the current item. Q Grid Lines The color and style of lines are configurable. 0 Cell Refers to an individual value within the grid. g Column Header Shows the name of each column. The Listview class discussed in chapter 14 can also be used to present a table of information. The Windows Forms namespace provides explicit classes to represent the rows and columns in a list view. As you may recall each item or row in the list is represented by the Listviewitem class instance and each column by a ListView-Subltem instance and is presented based on a ColumnHeader instance. As illustrated by figure the DataGrid class takes a somewhat different approach. The contents of the grid are contained in a single collection such as an array a photo album or a database table. Classes exist to configure the style in which the provided data is displayed including colors column ordering and other properties. We will discuss the details of these style classes later in the chapter. 566 CHAPTER 17 Data binding .NET Table DataGrid class The DataGrid class represents a control that displays a collection of data as a grid of rows and columns. The data displayed and the style in which it is presented is fully configurable. This class is part of the namespace and inherits from the Control class. See .NET Table on page 104 for a list of members inherited by this class. AllowNavigation AlternatingBackColor Gets or sets whether navigation is permitted. Gets or sets the background color to use on every other row in the .

TỪ KHÓA LIÊN QUAN
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.