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
Programmatically Setting Order By Property in a Three Level Report
Problem Creating MDE file
Receiving error when submitting data to SQL Server through asp.net vb
How to populate unbound controls on a continuous form in Access 2007
Exchange Migration - Exchange 2003 - Exchange 2007 - Old Hardware to New Hardware
Not getting print notification pop up in windows xp
Does SQL have a describe command that gives outputs the table structure?
C# XML data showing System.Xml.XmlElement instead of the values
Exporting with TransferText and schema.ini
Save an Access Report as a PDF