Microsoft
Software
Hardware
Network
Question : Silverlight convert XAML to xaml.cs code at runtime
eaderStyle
>
HeaderStyl
e>
Following code can create a column at runtime, but I would like to use multiple line column haeader as shown above.
DataGrid dataGrid1 = new DataGrid();
dataGrid1.AutoGenerateColu
mns = false;
DataGridTextColumn col1 = new DataGridTextColumn();
col1.Binding = new Binding();
col1.Width = DataGridLength.Auto;
col1.Header = "Auto";
dataGrid1.Columns.Add(col1
);
Thanks,
Ashok
Answer : Silverlight convert XAML to xaml.cs code at runtime
Try
col1.Header = "Department\n" + "Dates";
Random Solutions
Write Excel Data to Access via ADO - Possible Database Sharing Conflict
what is causing "too few parameters. Expect 1.
Validation Rule
IP change on Win2K Server DC
Combining Cells
Overcome Excel MAX num of nested if statement
How do I check if a table exists, before creating the table...
Outlook 2007 Calendar printing
SQL query
421 4.2.1 unable to connect for some domains