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
GAL does not show when trying to Delegate in outlook 07
Filtering Access Report
SBS08 - RWW - FQDN - Can't Get it to Work?
Why won't "WMIC OS Where Primary=True Call Reboot" not force reboot when dialog box is open?
Populating ASPX control Target with Web.config value
script to setup a silent install sqlserver 2008
Increase number of rows per page in ASP.NET GridView
How to write a language independent formula using Excel Object Library
Connecting to a db programmatically via File DSN using Visual Basic
ASP form to database