WinForm paging control, in many cases need to use, due to the integration of more functional operations, the use of better results, the interface uniformity is also more consistent. The check operation, in some cases, is also more useful, so provide the integration of the function.
Let's take a look at the overall selection of the headers based on my paging controls, and how the interface works.
1) The effect of the traditional interface
2) DotNetBar Interface effect
3) DevExpress Interface effect
The above is. NET development is very widely used in three groups of interface effects, pagination control provides 3 kinds of control implementations, almost all the properties and operation methods are consistent, this example implementation of the table header operation is exactly the same, we have the traditional interface effect of the paging control to introduce
First, specify the field name of the selected column for the paging control (if it is a DataTable type data source, then the data column name, if it is an entity class, then the attribute name of the entity class)
In addition, when binding the data, add a column corresponding to the field above the Ischeck can.
The above code specified, the beginning of the effect of this article, you can achieve the full selection of the head of the table, is not quite simple and elegant, and other effects of DotNetBar and Devexpresss interface effect, the use of the same method