I'm trying to set the TextOrientation of a GridHeaderCellElement. When I set it to Vertical via the "Edit UI Elements" options. The code throws a ArgumentOutOfRangeException because the following code created by the "Element hierarchy editor" is placed in the InitializeComponent method:
((Telerik.WinControls.UI.GridHeaderCellElement)(this.radGridView1.GetChildAt(0).GetChildAt(1).GetChildAt(0).GetChildAt(2))).TextOrientation = System.Windows.Forms.Orientation.Vertical;
when I move it to immediately after the InitializeComponent method, nothing happens.
However setting the TextOrientation to Vertical of a GridGroupHeaderItem does work...
what am I missing?
tanx, greetings
((Telerik.WinControls.UI.GridHeaderCellElement)(this.radGridView1.GetChildAt(0).GetChildAt(1).GetChildAt(0).GetChildAt(2))).TextOrientation = System.Windows.Forms.Orientation.Vertical;
when I move it to immediately after the InitializeComponent method, nothing happens.
However setting the TextOrientation to Vertical of a GridGroupHeaderItem does work...
what am I missing?
tanx, greetings