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
Updating things based on info in a given record
Error Code: 403 Forbidden The server denied the specified Uniform Resource Locator (URL).
reading an xml file in c#
print pdf files from a watch folder, of print commandline.
MDT OS import problem
Microsoft tool to check for correct opened ports for AD
How to Call MDI Child Events from MDI Parent...not all MDI Children are the same form
Unable to see embedded file in Word document
Example of having a input in excel, access calculates and provides answer
Adding an attribute to the xml root using FOR XML PATH syntax