Completed
Last Updated: 16 Feb 2018 10:29 by ADMIN
ADMIN
Dess | Tech Support Engineer, Principal
Created on: 19 Oct 2017 08:51
Category: GridView
Type: Feature Request
2
ADD. RadGridView - add ability to control the checkbox alignment for the GridViewCheckBoxColumn

		
1 comment
ADMIN
Ralitsa
Posted on: 16 Feb 2018 10:29
Hi, 

In order to achieve the desired behavior, you can set the HeaderCheckBoxPosition property and the HeaderCheckBoxAlignment property of the GridViewCheckBoxColumn. Here is the code snippet: 

GridViewCheckBoxColumn checkBoxColIsOrdered = this.radGridView1.Columns["IsOrdered"] as GridViewCheckBoxColumn;
checkBoxColIsOrdered.EnableHeaderCheckBox = true;
checkBoxColIsOrdered.HeaderCheckBoxPosition = HorizontalAlignment.Center;
checkBoxColIsOrdered.HeaderCheckBoxAlignment = ContentAlignment.TopRight;

The properties will be included in Telerik UI for Winforms R1 2018 SP1 version. 

Best regards, 
WinForms team