or
| <telerikChart:RadChart |
| x:Name="SeasonsChart" |
| VerticalAlignment="Stretch" |
| HorizontalAlignment="Stretch" |
| UseDefaultLayout="False" |
| Background="Transparent"> |
| <Grid> |
| <Grid.RowDefinitions> |
| <RowDefinition Height="50"/> |
| <RowDefinition Height="*"/> |
| </Grid.RowDefinitions> |
| <Grid.ColumnDefinitions> |
| <ColumnDefinition Width="*"/> |
| <ColumnDefinition Width="Auto"/> |
| </Grid.ColumnDefinitions> |
| <Border x:Name="SeasonsImage" Grid.ColumnSpan="2" Grid.RowSpan="2" ></Border> |
| <telerikCharting:ChartTitle |
| Margin="20, 0, 0, 0" |
| Padding="5,5,5,5" |
| Foreground="GhostWhite" |
| Grid.Row="0" |
| Grid.Column="0" |
| HorizontalAlignment="Left" |
| VerticalAlignment="Bottom"/> |
| <telerikCharting:ChartArea |
| LegendName="SeasonsLegend" |
| Background="{StaticResource springTransparentBrush}" |
| Padding="20, 20, 0, 30" |
| Grid.Row="1" |
| Grid.Column="0"/> |
| <telerikCharting:ChartLegend |
| Header="Temperatures" |
| Visibility="Visible" |
| Background="{StaticResource springTransparentBrush}" |
| Grid.Column="1" |
| Grid.Row="1" |
| Padding="-10, 20, 20, 30"/> |
| <input:RadComboBox x:Name="SeasonCombo" |
| SelectionChanged="SeasonCombo_SelectionChanged" |
| HorizontalAlignment="Right" |
| VerticalAlignment="Bottom" |
| Margin="0, 0, 20, 0" |
| Grid.Row="0" |
| Grid.Column="0" |
| MaxWidth="150" |
| MaxHeight="30" |
| telerik:StyleManager.Theme="{StaticResource QsfTheme}"> |
| <input:RadComboBoxItem Content="Spring"></input:RadComboBoxItem> |
| <input:RadComboBoxItem Content="Summer"></input:RadComboBoxItem> |
| <input:RadComboBoxItem Content="Autumn"></input:RadComboBoxItem> |
| <input:RadComboBoxItem Content="Winter"></input:RadComboBoxItem> |
| </input:RadComboBox> |
| </Grid> |
| </telerikChart:RadChart> |
Hello,
Using vs2010 RC and Radcontrols 2010 q1 for wpf in a new project.
Having serious problems with the load performance of the radcontrols.
When using a radgrid, radribbon and raddock on a new window.
(no data loaded in the gridview)
The window.show () takes way to long. The window is first showing without any controls. And after a view seconds the controls become visible.
System specs of dev system are good and cannot be the problem
I’m new to wpf (only winform experience) so maybe I forget something?
Tried running in .net 3.5 and 4.0 but found no difference.
Anybody experiencing the same problem?
Kind Regards,
Tim van Rooijen
| namespace RadGridViewFocusBug |
| { |
| /// <summary> |
| /// Interaction logic for Window1.xaml |
| /// </summary> |
| public partial class Window1 : Window |
| { |
| public Window1() |
| { |
| InitializeComponent(); |
| ObservableCollection<BusinessObject> col = new ObservableCollection<BusinessObject>(); |
| col.Add(new BusinessObject() { Arrival = DateTime.Now }); |
| col.Add(new BusinessObject() { Arrival = DateTime.Now }); |
| col.Add(new BusinessObject() { Arrival = DateTime.Now }); |
| this.DataContext = col; |
| } |
| } |
| public class BusinessObject |
| { |
| public DateTime Arrival { get; set; } |
| } |
| } |
| <Window x:Class="RadGridViewFocusBug.Window1" |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
| Title="Window1" Height="300" Width="300"> |
| <Grid> |
| <telerik:RadGridView ItemsSource="{Binding}" AutoGenerateColumns="False"> |
| <telerik:RadGridView.Columns> |
| <telerik:GridViewDataColumn Header="Arrival" > |
| <telerik:GridViewColumn.CellTemplate> |
| <DataTemplate> |
| <telerik:DateTimePicker SelectedDateTime="{Binding Path=Arrival, Mode=TwoWay}"/> |
| </DataTemplate> |
| </telerik:GridViewColumn.CellTemplate> |
| </telerik:GridViewDataColumn> |
| </telerik:RadGridView.Columns> |
| </telerik:RadGridView> |
| </Grid> |
| </Window> |