Thank you for writing.
The column chooser is being dynamically created when opened, hence
your settings are getting applied just the first time - because radGridView1.ColumnChooser will give you just the initial instance, and you are not subscribed to the Shown event of following instances.
For the purpose
we have a ColumnChooserCreated event, which gets fired when a new instance of the chooser is being created. In it, you can subscribe to the Shown event and use your handler:
sender, EventArgs e)
var gridPoint = radGridView1.ColumnChooser.GridRootElement.PointToScreen(
var x = gridPoint.X + radGridView1.ColumnChooser.GridRootElement.Size.Width;
radGridView1.ColumnChooser.StartPosition = FormStartPosition.Manual;
radGridView1.ColumnChooser.ColumnChooserControl.ColumnChooserElement.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
sender, ColumnChooserCreatedEventArgs e)
I hope that you find this information useful. Should you have any other questions, do not hesitate to contact us.
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal
and vote to affect the priority of the items