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
TS WEB ACCESS Certificate Error Outside Network
Maximum table size
Open TCP Ports in Windows 7
How do I check for the correct Excel extension when importing a file into MS Access 2003
Closing of Internet Explorer at the end of a process in ms access 2003
W3WP crashing windows server 2003 and 2008 and iis6 and iis7
blue screen errors...
Stored Procedure Execution Options
Excel VBA Array within an Array
Make a relationship between two tables on one form.