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
how to display mapped network drive information in windows explorer
AUTOCHK.EXE COULD NOT FOUND!
Trouble with a Winforms .NET Framework 2.0 list box
SharePoint Designer - Assign Task to Multiple Receipients and Reassign
Font formula
FileSystemWatcher VB.Net How to check if File is opened by application
SQL Select statement
Remove toolkit infection where browser is hijcked to r9237242.cn
VBA code to select the folder one level above this workbook's folder
how many back end server can I have with 2003 Exchange