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
sql 2008 query - search/copy tables results
Trouble running wmi query from .NET
How to identify at runtime if the sw is in debug or release mode (VB.NET)
SQL Server query issue with inner and outer joins
Force Data Type on import - Access 2003
Windows messages : How to find the sender of of WM_USER message
Convert LINQ in C# to VB.NET
Import special toolbar from another database
hidden files on server - windows 2003 server
MS Access' ability to be used across a network