This is a migrated thread and some comments may be shown as answers.

Style loss after upgrading to WPF 2010 SP2

3 Answers 91 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gili Korman Golander
Top achievements
Rank 1
Gili Korman Golander asked on 09 Jun 2010, 04:29 PM
Hello,

Recently we have upgraded our Telerik dlls to 2010 SP2  (had the 2010 Q1 before).
We found that some of our custom style templates for the RadGridView are no longer applied for some reason.
For example, our GridViewPanel style, our GridViewFooter style etc.

Please note - we are using implicit styles (no x:Key on the style, just TargetType).
How should we fix this? I saw you had mentioned that " All RadControls skins now get a major facelift. Your custom themes might not work as expected" - but this is rather vague and does not allow me to find out why the styles aren't applied now or how should I fix this.

To make things worse, after the Telerik upgrade, Blend does not open the solution anymore, neither does it give me any error messages.

I'd appreciate some help, Tx.
Gili

3 Answers, 1 is accepted

Sort by
0
Kalin Milanov
Telerik team
answered on 10 Jun 2010, 09:53 AM
Hi Gili Korman Golander,

This is strange and unexpected behavior. Could you please send me a sample reproducing this error so I can have a look at it and be of assistance?

All the best,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Gili Korman Golander
Top achievements
Rank 1
answered on 13 Jun 2010, 10:15 PM
Hello,

I am posting a sample window xaml where I have implicit styles for the grid and group panel. The grid style is applied, but the group panel style does not get applied with the Telerik 2010 Q1 SP 2 dlls. It used to work in the 2010 Q1 release. Please comment on the change in the Telerik style mechanism and what is the best way to handle this.

Also, we would appreciate if you would advise clients on breaking changes in styles in the future - it seems to happen with every Telerik upgrade and we are at a loss trying to figure out what went wrong.

<Window x:Class="TestTelerikGridStyling.MainWindow" 
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
         xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  
        Title="MainWindow" Height="350" Width="525" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    <Window.Resources> 
        <Style TargetType="{x:Type telerik:GridViewGroupPanel}"
        <Setter Property="Template"
            <Setter.Value> 
                <ControlTemplate TargetType="{x:Type telerik:GridViewGroupPanel}"
                    <ControlTemplate.Resources> 
                        <Storyboard x:Key="OnMouseEnter1"
                            <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="rectangle"
                                <EasingDoubleKeyFrame KeyTime="0" Value="0"/> 
                                <EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0.3"/> 
                                <EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/> 
                            </DoubleAnimationUsingKeyFrames> 
                        </Storyboard> 
                    </ControlTemplate.Resources> 
                    <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}"  VerticalAlignment="Top" Height="5"
                        <VisualStateManager.VisualStateGroups> 
                        </VisualStateManager.VisualStateGroups> 
 
                        <Border BorderBrush="Blue" BorderThickness="1" Background="{TemplateBinding Background}"
                            <Grid> 
                                <Grid.ColumnDefinitions> 
                                    <ColumnDefinition Width="*"/> 
                                    <ColumnDefinition Width="Auto"/> 
                                </Grid.ColumnDefinitions> 
                                <Rectangle x:Name="rectangle" HorizontalAlignment="Stretch" Stroke="Black" Grid.ColumnSpan="2" Opacity="0"
                                    <Rectangle.Fill> 
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"
                                            <GradientStop Color="#33FFFFFF" Offset="0.633"/> 
                                            <GradientStop Color="White" Offset="0"/> 
                                        </LinearGradientBrush> 
                                    </Rectangle.Fill> 
                                </Rectangle> 
                                <ToggleButton x:Name="toggleButton123" Content="ToggleButton" VerticalAlignment="Center" HorizontalAlignment="Left" Margin="0" Grid.Column="1" IsChecked="True"
                                    <ToggleButton.Background> 
                                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"
                                            <GradientStop Color="White" Offset="0"/> 
                                            <GradientStop Color="#FFE3E5F0" Offset="0.5"/> 
                                            <GradientStop Color="Black" Offset="1"/> 
                                        </LinearGradientBrush> 
                                    </ToggleButton.Background> 
                                </ToggleButton> 
                                <StackPanel x:Name="stackPanel" Orientation="Horizontal" Grid.ColumnSpan="1" HorizontalAlignment="Left" VerticalAlignment="Center" Margin="0,1"
                                    <TextBlock x:Name="panelText" FontSize="9.5" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" Margin="{TemplateBinding Padding}" telerik:LocalizationManager.ResourceKey="GridViewGroupPanelText" Text="Drag a column header and drop it here to group by that column" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Foreground="Yellow" FontWeight="regular"/> 
                                    <TextBlock x:Name="panelTextGrouped" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" IsHitTestVisible="False" Margin="{TemplateBinding Padding}" telerik:LocalizationManager.ResourceKey="GridViewGroupPanelTopTextGrouped" Text="Grouped by:" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Foreground="Magenta" FontWeight="regular" Visibility="Collapsed"/> 
                                    <ItemsPresenter VerticalAlignment="Center" /> 
                                </StackPanel> 
                            </Grid> 
                        </Border> 
                    </Border> 
                    <ControlTemplate.Triggers> 
 
                        <Trigger Property="IsMouseOver" Value="True"
                            <Trigger.EnterActions> 
                                <BeginStoryboard Storyboard="{StaticResource OnMouseEnter1}"/> 
                            </Trigger.EnterActions> 
                            <Setter Property="Height" TargetName="border" Value="30"/> 
                        </Trigger> 
 
                        <Trigger Property="HasItems" Value="True"
                            <Setter Property="Visibility" TargetName="panelText" Value="Collapsed"/> 
                            <Setter Property="Visibility" TargetName="panelTextGrouped" Value="Visible"/> 
                        </Trigger> 
 
                        <MultiDataTrigger> 
                            <MultiDataTrigger.Conditions> 
                                <Condition Binding="{Binding IsChecked, ElementName=toggleButton123}" 
                                    Value="False" /> 
                                <Condition Binding="{Binding IsMouseOver, ElementName=border}" 
                                    Value="False" /> 
                               
                            </MultiDataTrigger.Conditions> 
                            <Setter Property="Height" 
                                TargetName="border" 
                                Value="5" /> 
                        </MultiDataTrigger> 
 
                        <MultiDataTrigger> 
                            <MultiDataTrigger.Conditions> 
                                <Condition Binding="{Binding IsChecked, ElementName=toggleButton123}" 
                                    Value="True"/> 
                                <Condition Binding="{Binding IsMouseOver, ElementName=border}" 
                                    Value="False" /> 
                                 
                            </MultiDataTrigger.Conditions> 
                            <Setter Property="Height" 
                                TargetName="border" 
                                Value="30" /> 
                        </MultiDataTrigger> 
                         
 
 
 
                    </ControlTemplate.Triggers> 
                </ControlTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="ItemsPanel"
            <Setter.Value> 
                <ItemsPanelTemplate> 
                    <StackPanel IsItemsHost="True" Orientation="Horizontal" VerticalAlignment="Stretch"/> 
                </ItemsPanelTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="Height" Value="Auto"/> 
        <Setter Property="Margin" Value="0"/> 
        <Setter Property="Padding" Value="10,0,3,0"/> 
        <Setter Property="Background" Value="Blue"/> 
        <Setter Property="BorderBrush" Value="Green"/> 
        <Setter Property="BorderThickness" Value="0,0,0,1"/> 
        <Setter Property="VerticalContentAlignment" Value="Center"/> 
        <Setter Property="HorizontalContentAlignment" Value="Left"/> 
        <Setter Property="SnapsToDevicePixels" Value="True"/> 
        <Setter Property="Foreground" Value="Magenta"/> 
        <Setter Property="VerticalAlignment" Value="Top"/> 
        <Setter Property="MinWidth" Value="0"/> 
        <Setter Property="MinHeight" Value="0"/> 
    </Style> 
     
    <Style TargetType="{x:Type telerik:GridViewGroupPanelItem}"
        <Setter Property="Template"
            <Setter.Value> 
                <ControlTemplate TargetType="{x:Type telerik:GridViewGroupPanelItem}"
                    <StackPanel x:Name="PART_GroupPanelItemStackPanel" Background="{TemplateBinding Background}" Orientation="Horizontal" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                        <Grid HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
                            <Grid.RowDefinitions> 
                                <RowDefinition Height="Auto" MinHeight="4"/> 
                                <RowDefinition/> 
                            </Grid.RowDefinitions> 
                            <Path x:Name="PART_InsertionPoint" Data="M206.66812,170.31108L212.08199,170.31108 209.36058,173.98834z" Fill="{DynamicResource TelerikGridHeaderForeground}" HorizontalAlignment="Center" Height="4.677" Grid.Row="0" Stretch="Fill" Visibility="Collapsed" VerticalAlignment="Top" Width="6.414"/> 
                            <Grid x:Name="PART_ConnectingLine" Margin="{TemplateBinding Padding}" Grid.Row="1" Visibility="Visible"
                                <Path Data="M0,0L1,0 1,1 2,1 2,2 3,2 3,3 4,3 4,4 3,4 3,5 2,5 2,6 1,6 1,7 0,7z" Fill="#FF60DEFF" Height="7" Margin="1,2,0,0" Stretch="Fill" Stroke="{x:Null}" Width="4" Visibility="Collapsed"/> 
                                <Path Data="M0,0L1,0 1,1 2,1 2,2 3,2 3,3 4,3 4,4 3,4 3,5 2,5 2,6 1,6 1,7 0,7z" Fill="{DynamicResource TelerikGridHeaderForeground}" Height="7" Stretch="Fill" Stroke="{x:Null}" Width="4"/> 
                            </Grid> 
                        </Grid> 
                        <telerik:GridViewGroupPanelCell Content="{Binding DisplayContent}" IsTabStop="False" SortDirection="{Binding SortDirection}" BorderBrush="{DynamicResource TelerikGridHeaderForeground}" Foreground="{DynamicResource TelerikGridHeaderForeground}" Background="{DynamicResource TelrikGroupPameItemBackground}"
                            <telerik:StyleManager.Theme> 
                                <telerik:Office_BlackTheme/> 
                            </telerik:StyleManager.Theme> 
                        </telerik:GridViewGroupPanelCell> 
                    </StackPanel> 
                </ControlTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="Background" Value="Transparent"/> 
        <Setter Property="Padding" Value="2,0,2,2"/> 
        <Setter Property="VerticalContentAlignment" Value="Stretch"/> 
        <Setter Property="HorizontalContentAlignment" Value="Left"/> 
    </Style> 
    <Style TargetType="{x:Type telerik:GridViewGroupPanelCell}"
        <Setter Property="Template"
            <Setter.Value> 
                <ControlTemplate TargetType="{x:Type telerik:GridViewGroupPanelCell}"
                    <Grid> 
                        <Border x:Name="OuterBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="1" Height="24"
                            <Border x:Name="InnerBorder" BorderBrush="{DynamicResource TelrikGroupPameItemInnerBorder}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"/> 
                        </Border> 
                        <Grid> 
                            <Path x:Name="PART_SortIndicator" Data="M0,0L1,0 2,0 3,0 4,0 5,0 5,1 4,1 4,2 3,2 3,3 2,3 2,2 1,2 1,1 0,1 0,0z" Fill="{DynamicResource TelerikGridHeaderForeground}" HorizontalAlignment="Center" Height="3" Margin="0,3,0,0" RenderTransformOrigin="0.5,0.5" Stretch="Fill" Visibility="Collapsed" VerticalAlignment="Top" Width="5"/> 
                            <ContentControl x:Name="ContentElement" Content="{Binding DisplayContent}" Foreground="{TemplateBinding Foreground}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
                                <ContentControl.RenderTransform> 
                                    <TransformGroup> 
                                        <ScaleTransform/> 
                                        <SkewTransform/> 
                                        <RotateTransform/> 
                                        <TranslateTransform/> 
                                    </TransformGroup> 
                                </ContentControl.RenderTransform> 
                            </ContentControl> 
                            <Button x:Name="PART_CloseButton" HorizontalAlignment="Right" Margin="4,0" VerticalAlignment="Center" Style="{DynamicResource CloseSmallButtonStyle}"/> 
                        </Grid> 
                    </Grid> 
                    <ControlTemplate.Triggers> 
                        <Trigger Property="IsMouseOver" Value="True"
                            <Trigger.EnterActions> 
                                <BeginStoryboard> 
                                    <Storyboard> 
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_CloseButton"
                                            <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="1"/> 
                                        </DoubleAnimationUsingKeyFrames> 
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ContentElement"
                                            <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="-7"/> 
                                        </DoubleAnimationUsingKeyFrames> 
                                    </Storyboard> 
                                </BeginStoryboard> 
                            </Trigger.EnterActions> 
                            <Trigger.ExitActions> 
                                <BeginStoryboard> 
                                    <Storyboard> 
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="PART_CloseButton"
                                            <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> 
                                        </DoubleAnimationUsingKeyFrames> 
                                        <DoubleAnimationUsingKeyFrames BeginTime="0" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="ContentElement"
                                            <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="0"/> 
                                        </DoubleAnimationUsingKeyFrames> 
                                    </Storyboard> 
                                </BeginStoryboard> 
                            </Trigger.ExitActions> 
                        </Trigger> 
                        <DataTrigger Binding="{Binding SortDirection}" Value="Ascending"
                            <Setter Property="Visibility" TargetName="PART_SortIndicator" Value="Visible"/> 
                            <Setter Property="LayoutTransform" TargetName="PART_SortIndicator"
                                <Setter.Value> 
                                    <ScaleTransform ScaleY="-1" ScaleX="1"/> 
                                </Setter.Value> 
                            </Setter> 
                        </DataTrigger> 
                        <DataTrigger Binding="{Binding SortDirection}" Value="Descending"
                            <Setter Property="Visibility" TargetName="PART_SortIndicator" Value="Visible"/> 
                            <Setter Property="LayoutTransform" TargetName="PART_SortIndicator"
                                <Setter.Value> 
                                    <ScaleTransform ScaleY="1" ScaleX="1"/> 
                                </Setter.Value> 
                            </Setter> 
                        </DataTrigger> 
                        <DataTrigger Binding="{Binding SortDirection}" Value="{x:Null}"
                            <Setter Property="Visibility" TargetName="PART_SortIndicator" Value="Collapsed"/> 
                        </DataTrigger> 
                    </ControlTemplate.Triggers> 
                </ControlTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="BorderThickness" Value="1"/> 
        <Setter Property="Padding" Value="20,0"/> 
        <Setter Property="VerticalContentAlignment" Value="Center"/> 
        <Setter Property="HorizontalContentAlignment" Value="Center"/> 
        <Setter Property="Foreground" Value="{DynamicResource TelerikGridHeaderForeground}"/> 
        <Setter Property="SnapsToDevicePixels" Value="True"/> 
    </Style> 
    <Style TargetType="{x:Type telerik:DataCellsPresenter}"
        <Setter Property="Template"
            <Setter.Value> 
                <ControlTemplate TargetType="{x:Type telerik:DataCellsPresenter}"
                    <Grid> 
                        <ItemsPresenter/> 
                        <telerik:FrozenColumnsSplitter x:Name="PART_FrozenColumnsSplitter" Cursor="None" HorizontalAlignment="Left" IsTabStop="False"
                            <telerik:StyleManager.Theme> 
                                <telerik:Office_BlackTheme/> 
                            </telerik:StyleManager.Theme> 
                        </telerik:FrozenColumnsSplitter> 
                    </Grid> 
                </ControlTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="IsTabStop" Value="False"/> 
        <Setter Property="ItemsPanel"
            <Setter.Value> 
                <ItemsPanelTemplate> 
                    <telerik:GridViewCellsPanel IsItemsHost="True"/> 
                </ItemsPanelTemplate> 
            </Setter.Value> 
        </Setter> 
        <Setter Property="SnapsToDevicePixels" Value="True"/> 
    </Style> 
        <Style TargetType="{x:Type telerik:RadGridView}"
            <Setter Property="Template"
                <Setter.Value> 
                    <ControlTemplate TargetType="{x:Type telerik:RadGridView}"
                        <AdornerDecorator> 
                            <Border x:Name="PART_MasterGridContainer" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}"
                                <Grid x:Name="HierrarchyBackground" Background="{TemplateBinding Background}"
                                    <Grid.ColumnDefinitions> 
                                        <ColumnDefinition/> 
                                        <ColumnDefinition x:Name="ScrollBarColumn" MinWidth="0" Width="0"/> 
                                    </Grid.ColumnDefinitions> 
                                    <Grid.RowDefinitions> 
                                        <RowDefinition Height="Auto"/> 
                                        <RowDefinition x:Name="PART_AttachedBehaviorRow" Height="Auto"/> 
                                        <RowDefinition/> 
                                        <RowDefinition x:Name="ScrollBarRow" Height="0" MinHeight="0"/> 
                                        <RowDefinition Height="Auto"/> 
                                    </Grid.RowDefinitions> 
                                    <telerik:GridViewGroupPanel x:Name="PART_GroupPanel" BorderBrush="#FF848484" Background="{TemplateBinding GroupPanelBackground}" Grid.ColumnSpan="2" Foreground="{TemplateBinding GroupPanelForeground}" IsTabStop="False" Grid.Row="0"
                                        <telerik:StyleManager.Theme> 
                                            <telerik:Office_BlackTheme/> 
                                        </telerik:StyleManager.Theme> 
                                    </telerik:GridViewGroupPanel> 
                                    <telerik:GridViewScrollViewer x:Name="PART_ItemsScrollViewer" Background="Transparent" CanContentScroll="True" Grid.ColumnSpan="2" Grid.Row="2" Grid.RowSpan="2"
                                        <telerik:GridViewScrollViewer.FooterRow> 
                                            <telerik:GridViewFooterRow x:Name="PART_FooterRow" IsTabStop="False" IndentLevel="{TemplateBinding GroupCount}"
                                                <telerik:StyleManager.Theme> 
                                                    <telerik:Office_BlackTheme/> 
                                                </telerik:StyleManager.Theme> 
                                            </telerik:GridViewFooterRow> 
                                        </telerik:GridViewScrollViewer.FooterRow> 
                                        <telerik:GridViewScrollViewer.HeaderRow> 
                                            <telerik:GridViewHeaderRow x:Name="PART_HeaderRow" IsTabStop="False" IndentLevel="{TemplateBinding GroupCount}"
                                                <telerik:StyleManager.Theme> 
                                                    <telerik:Office_BlackTheme/> 
                                                </telerik:StyleManager.Theme> 
                                            </telerik:GridViewHeaderRow> 
                                        </telerik:GridViewScrollViewer.HeaderRow> 
                                        <telerik:GridViewScrollViewer.NewRow> 
                                            <telerik:GridViewNewRow x:Name="PART_AddNewRow" IsTabStop="False" IndentLevel="{TemplateBinding GroupCount}" Visibility="Collapsed"
                                                <telerik:StyleManager.Theme> 
                                                    <telerik:Office_BlackTheme/> 
                                                </telerik:StyleManager.Theme> 
                                            </telerik:GridViewNewRow> 
                                        </telerik:GridViewScrollViewer.NewRow> 
                                        <telerik:StyleManager.Theme> 
                                            <telerik:Office_BlackTheme/> 
                                        </telerik:StyleManager.Theme> 
                                        <telerik:GridViewVirtualizingPanel x:Name="PART_GridViewVirtualizingPanel"/> 
                                    </telerik:GridViewScrollViewer> 
                                    <telerik:ScrollPositionIndicator x:Name="PART_ScrollPositionIndicator" Grid.ColumnSpan="2" ContentTemplate="{TemplateBinding ScrollPositionIndicatorTemplate}" HorizontalAlignment="Right" IsHitTestVisible="False" IsTabStop="False" Margin="0,0,28,0" Grid.Row="2"
                                        <telerik:StyleManager.Theme> 
                                            <telerik:Office_BlackTheme/> 
                                        </telerik:StyleManager.Theme> 
                                        <telerik:ScrollPositionIndicator.Visibility> 
                                            <Binding Mode="TwoWay" Path="IsScrolling" RelativeSource="{RelativeSource TemplatedParent}"
                                                <Binding.Converter> 
                                                    <telerik:BooleanToVisibilityConverter/> 
                                                </Binding.Converter> 
                                            </Binding> 
                                        </telerik:ScrollPositionIndicator.Visibility> 
                                    </telerik:ScrollPositionIndicator> 
                                    <Border x:Name="PART_FrozenColumnsPreview" Background="#33000000" HorizontalAlignment="Left" Grid.Row="1" Grid.RowSpan="4" Visibility="Collapsed" VerticalAlignment="Stretch" Width="6"/> 
                                    <telerik:GridViewLoadingIndicator x:Name="PART_GridViewLoadingIndicator" Grid.ColumnSpan="2" IsTabStop="False" Grid.RowSpan="4" Visibility="Collapsed"
                                        <telerik:StyleManager.Theme> 
                                            <telerik:Office_BlackTheme/> 
                                        </telerik:StyleManager.Theme> 
                                    </telerik:GridViewLoadingIndicator> 
                                </Grid> 
                            </Border> 
                        </AdornerDecorator> 
                        <ControlTemplate.Triggers> 
                            <Trigger Property="IsBusy" Value="True"
                                <Setter Property="Visibility" TargetName="PART_GridViewLoadingIndicator" Value="Visible"/> 
                            </Trigger> 
                            <Trigger Property="IsBusy" Value="False"
                                <Setter Property="Visibility" TargetName="PART_GridViewLoadingIndicator" Value="Collapsed"/> 
                            </Trigger> 
                            <Trigger Property="ShowColumnFooters" Value="False"
                                <Setter Property="Visibility" TargetName="PART_FooterRow" Value="Collapsed"/> 
                            </Trigger> 
                            <Trigger Property="ShowColumnHeaders" Value="False"
                                <Setter Property="Visibility" TargetName="PART_HeaderRow" Value="Collapsed"/> 
                            </Trigger> 
                            <Trigger Property="ShowGroupPanel" Value="False"
                                <Setter Property="Visibility" TargetName="PART_GroupPanel" Value="Collapsed"/> 
                            </Trigger> 
                            <Trigger Property="ComputedVerticalScrollBarVisibility" SourceName="PART_ItemsScrollViewer" Value="Collapsed"
                                <Setter Property="Width" TargetName="ScrollBarColumn" Value="0"/> 
                            </Trigger> 
                            <Trigger Property="ComputedHorizontalScrollBarVisibility" SourceName="PART_ItemsScrollViewer" Value="Collapsed"
                                <Setter Property="Height" TargetName="ScrollBarRow" Value="0"/> 
                                <Setter Property="Grid.RowSpan" TargetName="PART_ItemsScrollViewer" Value="1"/> 
                            </Trigger> 
                            <Trigger Property="ShowInsertRow" Value="True"
                                <Setter Property="Visibility" TargetName="PART_AddNewRow" Value="Visible"/> 
                            </Trigger> 
                        </ControlTemplate.Triggers> 
                    </ControlTemplate> 
                </Setter.Value> 
            </Setter> 
            <Setter Property="Background" Value="White"/> 
            <Setter Property="BorderBrush" Value="Red"/> 
            <Setter Property="Foreground" Value="Black"/> 
            <Setter Property="BorderThickness" Value="4"/> 
            <Setter Property="AlternateRowBackground" Value="#FFF4F4F4"/> 
            <Setter Property="VerticalGridLinesBrush" Value="#FFCBCBCB"/> 
            <Setter Property="HorizontalGridLinesBrush" Value="#FFCBCBCB"/> 
            <Setter Property="GroupPanelBackground"
                <Setter.Value> 
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"
                        <GradientStop Color="#FFDFDFDF" Offset="1"/> 
                        <GradientStop Color="#FFBABABA"/> 
                    </LinearGradientBrush> 
                </Setter.Value> 
            </Setter> 
            <Setter Property="GroupPanelForeground" Value="Black"/> 
            <Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto"/> 
            <Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto"/> 
            <Setter Property="SnapsToDevicePixels" Value="True"/> 
        </Style> 
    </Window.Resources> 
    <Grid> 
        <telerik:RadGridView Margin="146,73,0,0" Name="radGridView1" Style="{StaticResource {x:Type telerik:RadGridView}}"
            <telerik:RadGridView.Columns> 
                <telerik:GridViewColumn Header="A" /> 
                <telerik:GridViewColumn Header="B" /> 
                <telerik:GridViewColumn Header="C" /> 
            </telerik:RadGridView.Columns> 
        </telerik:RadGridView> 
    </Grid> 
</Window> 

The problem of Blend not displaying the solution files is hard to reproduce in a sample and may not be altogether related to Telerik, although it started after the Telerik dlls upgrade.

Thanks,
Gili
0
Kalin Milanov
Telerik team
answered on 14 Jun 2010, 12:29 PM
Hello Gili Korman Golander,

Indeed I can confirm this is not working as expected and we will be fixing this as soon as possible. Thanks for reporting it.

All the best,
Kalin Milanov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
GridView
Asked by
Gili Korman Golander
Top achievements
Rank 1
Answers by
Kalin Milanov
Telerik team
Gili Korman Golander
Top achievements
Rank 1
Share this question
or