Telerik UI for WinForms
Overview
Demos
Roadmap
What's New
Roadmap
Release History
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Try now
close mobile menu
Telerik Forums
/
UI for WinForms
This is a migrated thread and some comments may be shown as answers.
Group text align
2 Answers
28 Views
GridView
This is a migrated thread and some comments may be shown as answers.
dennis
Top achievements
Rank 1
dennis
asked on
21 Nov 2008,
06:55 AM
The vistaorange have the text of the group row center aligned. i want to align the text to the left, like in vista theme. how i can do it??
Add a comment
Submit comment
Cancel
2 Answers
, 1 is accepted
Sort by
Score
Date
0
Accepted
Nick
Telerik team
answered on
21 Nov 2008,
04:29 PM
Hi dennis,
Please use
ViewCellFormatting
event as in the example below:
private
void
radGridView1_ViewCellFormatting(
object
sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
{
if
(e.CellElement.RowInfo
is
GridViewGroupRowInfo ) {
e.CellElement.TextAlignment = ContentAlignment.MiddleLeft;
}
}
Sincerely yours,
Nick
the Telerik team
Check out
Telerik Trainer
, the state of the art learning tool for Telerik products.
Add a comment
Submit comment
Cancel
0
dennis
Top achievements
Rank 1
answered on
21 Nov 2008,
04:40 PM
thanks, that work s perfectly
Add a comment
Submit comment
Cancel
Answer this question
Drag and drop files here or
browse
to attach...
Browse
for files to attach...
Supported file types: PNG, JPG, JPEG, ZIP, RAR, TXT. Max total file size - 20MB.
Submit answer
Cancel
Tags
GridView
Asked by
dennis
Top achievements
Rank 1
Answers by
Nick
Telerik team
dennis
Top achievements
Rank 1
Share this question
or
Copy link