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
WIndows Vista dont boot, blue screen
Adding a unique identifier to a field for export
MS Word conversion to Adobe
MS Access - References Lost When Distributing
SoapException when passing a class to web service
Outlook 2003 keeps crashing
After OCS F-E's IP was changed, Services would't start - SQL connection lost?
Small Business Server 2008 - TASK Scheduler Errors
SSRS: Can I make a rectangle that truly hides
ASP.NET - Reading from resource file