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
Inserting mass amounts of data to sqlserver from vb.net
Can I install Visual Studio 6.0 on Windows 7?
Front Page 2003 - Formatting Form Email Results
Running .mdb fils without Access installed
Exchange 2010 CAS/HT NLB
How to check if Windows has Product Activation
How to add empty rows to a databound GridView?
Error on one line and not on the other
debug 'stop' not executing
Macro not available to button properties