Click here to Skip to main content
16,010,523 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regular Expression for hour Pin
BECK711-Aug-05 9:26
BECK711-Aug-05 9:26 
GeneralRe: Regular Expression for hour Pin
User 665811-Aug-05 10:12
User 665811-Aug-05 10:12 
GeneralRe: Regular Expression for hour Pin
OmegaMan11-Aug-05 10:07
OmegaMan11-Aug-05 10:07 
QuestionHow to Update a row in Datagrid Pin
dwark10611-Aug-05 6:28
dwark10611-Aug-05 6:28 
GeneralDataGrid Column Headers Pin
zaboboa11-Aug-05 6:22
zaboboa11-Aug-05 6:22 
GeneralRe: DataGrid Column Headers Pin
rudy.net11-Aug-05 17:19
rudy.net11-Aug-05 17:19 
GeneralRe: DataGrid Column Headers Pin
zaboboa12-Aug-05 2:03
zaboboa12-Aug-05 2:03 
GeneralRe: DataGrid Column Headers Pin
rudy.net12-Aug-05 4:07
rudy.net12-Aug-05 4:07 
Humm, that's interesting. I guess setting the alignment after adding a TableStyle then only sets alignment of the data.
Anyway, when I tested on my datagrid I did the testing during the creation of the TableStyle.
Example:
<br />
private void CreateGrid()<br />
{<br />
DataGridTableStyle ts = new DataGridTableStyle();<br />
ts.MappingName = "TableName";<br />
<br />
DataGridTextBoxColumn textCol = new DataGridTextBoxColumn();<br />
textCol.MappingName = "ColumnName";<br />
textCol.HeaderText = "Test Column";<br />
textCol.Alignment = HorizontalAlignment.Center;  <<-- Set alignment here<br />
ts.GridColumnStyles.Add(textCol);<br />
<br />
myGrid.TableStyles.Add(ts);<br />
}<br />

GeneralXML Question Pin
matthias s.11-Aug-05 6:12
matthias s.11-Aug-05 6:12 
GeneralRe: XML Question Pin
ChesterPoindexter11-Aug-05 7:41
professionalChesterPoindexter11-Aug-05 7:41 
GeneralRe: XML Question Pin
LongRange.Shooter11-Aug-05 9:57
LongRange.Shooter11-Aug-05 9:57 
GeneralRe: XML Question Pin
StoneTheCrows12-Aug-05 1:33
StoneTheCrows12-Aug-05 1:33 
Generalway to connect c# by flash Pin
malak nour11-Aug-05 5:23
malak nour11-Aug-05 5:23 
GeneralRe: way to connect c# by flash Pin
Judah Gabriel Himango11-Aug-05 6:02
sponsorJudah Gabriel Himango11-Aug-05 6:02 
General[STAThreadAttribute] Pin
zaboboa11-Aug-05 5:22
zaboboa11-Aug-05 5:22 
GeneralRe: [STAThreadAttribute] Pin
Judah Gabriel Himango11-Aug-05 7:10
sponsorJudah Gabriel Himango11-Aug-05 7:10 
GeneralKilling WORD in case of failure - but the right version Pin
fracalifa11-Aug-05 5:17
fracalifa11-Aug-05 5:17 
GeneralRe: Killing WORD in case of failure - but the right version Pin
Alomgir Miah11-Aug-05 5:36
Alomgir Miah11-Aug-05 5:36 
GeneralRe: Killing WORD in case of failure - but the right version Pin
fracalifa11-Aug-05 7:29
fracalifa11-Aug-05 7:29 
GeneralCreating standalone exe file Pin
mamtz11-Aug-05 5:00
mamtz11-Aug-05 5:00 
GeneralRe: Creating standalone exe file Pin
Dan Neely11-Aug-05 5:08
Dan Neely11-Aug-05 5:08 
GeneralRe: Creating standalone exe file Pin
Dave Kreskowiak11-Aug-05 6:30
mveDave Kreskowiak11-Aug-05 6:30 
GeneralRe: Creating standalone exe file Pin
S. Senthil Kumar11-Aug-05 7:39
S. Senthil Kumar11-Aug-05 7:39 
GeneralRe: Creating standalone exe file Pin
Dave Kreskowiak11-Aug-05 8:22
mveDave Kreskowiak11-Aug-05 8:22 
GeneralRe: Creating standalone exe file Pin
Steve Maier11-Aug-05 7:08
professionalSteve Maier11-Aug-05 7:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.