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
Can I have command box labeled email and have it only open up the installed .pdf printer
visual studio addin deploy for 2005 and 2008
c# unzip
Datagrid and Arraylist in VB.Net
How to open particular tabPage of TabControl on form load in C#.NET project?
Adding Child Nodes to tree view in VBA
Connect VB6 to SQL 2008
Access VBA Help for Form Movement
Microsoft Office Access can't open the file...
Access 2007 Switchboard Error 2950