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
DAO Recordset issue Access 2007 VBA
How to show detail on summary report that is pulled into another report (sub-report)
MS Access 2003 illustrated guide book
Where Can I find a online free VBA manual?
How to include dynamic html code in aspx page?
Microsoft has encountered a problem and needs to close.
Print SQL exec results
Copy NTFS permissions to sharepoint
Formula to calculate due dates
No Active Network Adapters Found - Pending Changes may disrupt network Connectivity