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
I am trying to add an edit, delete function to an existing gridview
Grouping by pallet#
.Net 2.0 and Mono compatibility?
TMG/ISA 2006 - Kerberos Authentication Issues
"Declare Function" err - "not allowed as Public members of object modules"
Upgrade to Vista, video card not detected
Divide Records By Date
How to Export OWA content remotely?
vpshellres.dll could not be found
How to modify the text of listbox in Form View