This question is locked. New answers and comments are not allowed.
I am attempting to update our application to the latest release, and I am having serious trouble tracking down the compatibility issue that is causing this style which functioned normally in 2011 and 2012, but jacks up our view using the 2013 release. Advice from anyone who can take a look with knowing eyes would be greatly appreciated.
Gah, sorry for the messed up edits.
<Style x:Key="MyStyle" TargetType="TelerikNavigation:RadTreeViewItem"> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="CheckState" Value="Off" /> <Setter Property="BorderThickness" Value="0.0" /> <Setter Property="Padding" Value="1 0 5 0" /> <Setter Property="Margin" Value="0" /> <Setter Property="IsDropAllowed" Value="True" /> <Setter Property="ItemsOptionListType" Value="Default" /> <Setter Property="IsEnabled" Value="True" /> <Setter Property="MinHeight" Value="24" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="ItemsPanel"> <Setter.Value> <ItemsPanelTemplate> <TelerikTreeView:TreeViewPanel VerticalAlignment="Bottom" /> </ItemsPanelTemplate> </Setter.Value> </Setter> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="TelerikNavigation:RadTreeViewItem"> <Grid x:Name="RootElement" Background="Transparent"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="EditStates"> <VisualState x:Name="Display" /> <VisualState x:Name="Edit"> <Storyboard> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="EditHeaderElement"> <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> </ObjectAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Header"> <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" /> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal" /> <VisualState x:Name="Disabled"> <Storyboard> <DoubleAnimation Duration="0:0:0.0" To="0.35" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Header" /> <DoubleAnimation Duration="0:0:0.0" To="0.35" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Image" /> <DoubleAnimation Duration="0:0:0.0" To="0.35" Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Expander" /> </Storyboard> </VisualState> <VisualState x:Name="MouseOver" /> </VisualStateGroup> <VisualStateGroup x:Name="SelectionStates"> <VisualState x:Name="Unselected" /> <VisualState x:Name="Selected"> <Storyboard> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="SelectionVisual"> <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState x:Name="SelectedUnfocused"> <Storyboard> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="SelectionUnfocusedVisual"> <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> <VisualStateGroup x:Name="LoadingOnDemandStates"> <VisualState x:Name="LoadingOnDemand"> <Storyboard> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="LoadingVisual"> <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> </ObjectAnimationUsingKeyFrames> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="Expander"> <DiscreteObjectKeyFrame KeyTime="0" Value="Collapsed" /> </ObjectAnimationUsingKeyFrames> <DoubleAnimation Duration="0:0:1" From="0" RepeatBehavior="Forever" To="359" Storyboard.TargetProperty="Angle" Storyboard.TargetName="LoadingVisualAngleTransform" /> </Storyboard> </VisualState> <VisualState x:Name="LoadingOnDemandReverse" /> </VisualStateGroup> <VisualStateGroup x:Name="FocusStates"> <VisualState x:Name="Focused"> <Storyboard> <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="FocusVisual"> <DiscreteObjectKeyFrame KeyTime="0" Value="Visible" /> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState x:Name="Unfocused" /> </VisualStateGroup> <VisualStateGroup x:Name="ExpandStates"> <VisualState x:Name="Expanded" /> <VisualState x:Name="Collapsed" /> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Grid x:Name="HeaderRow" MinHeight="{TemplateBinding MinHeight}"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="*" /> </Grid.ColumnDefinitions> <Border BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{StaticResource TransparentBrush}" Grid.ColumnSpan="6" Grid.Column="2" CornerRadius="2" /> <Border x:Name="MouseOverVisual" BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{StaticResource NoThickness}" Grid.ColumnSpan="6" Grid.Column="2" CornerRadius="{StaticResource NoRadius}" Opacity="0"> <Border BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{StaticResource NoThickness}" Background="{StaticResource TransparentBrush}" CornerRadius="{StaticResource NoRadius}" /> </Border> <Border x:Name="SelectionUnfocusedVisual" BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{StaticResource NoThickness}" Grid.ColumnSpan="6" Grid.Column="2" CornerRadius="{StaticResource ControlSubItem_OuterCornerRadius}" Visibility="Collapsed"> <Border BorderBrush="{StaticResource ControlSubItem_InnerBorder_UnFocus}" BorderThickness="{StaticResource NoThickness}" Background="{StaticResource ControlSubItem_Background_UnFocus}" CornerRadius="{StaticResource NoRadius}" /> </Border> <Border x:Name="SelectionVisual" BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{StaticResource NoThickness}" Grid.ColumnSpan="6" Grid.Column="2" CornerRadius="{StaticResource NoRadius}" Visibility="Collapsed"> <Border BorderBrush="{StaticResource TransparentBrush}" BorderThickness="{StaticResource NoThickness}" Background="{StaticResource TransparentBrush}" CornerRadius="{StaticResource NoRadius}" /> </Border> <StackPanel x:Name="IndentContainer" Orientation="Horizontal"> <Rectangle x:Name="IndentFirstVerticalLine" Stroke="{StaticResource TransparentBrush}" Visibility="Visible" VerticalAlignment="Top" Width="20"> <Rectangle.Clip> <RectangleGeometry Rect="0,0,1,10000" /> </Rectangle.Clip> </Rectangle> </StackPanel> <Border x:Name="HeaderToggle" Grid.Column="1" Grid.ColumnSpan="5" HorizontalAlignment="Stretch" Background="Transparent" BorderThickness="0,1,0,0" CornerRadius="2" BorderBrush="Gray"> <Grid x:Name="ListRootContainer" HorizontalAlignment="Stretch" MinWidth="20"> <ToggleButton x:Name="Expander" IsEnabled="{TemplateBinding IsEnabled}" Template="{StaticResource ToggleButtonGlassTemplate}" Background="Transparent" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" /> <Grid x:Name="LoadingVisual" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5" Visibility="Collapsed" VerticalAlignment="Center"> <Grid.RenderTransform> <TransformGroup> <RotateTransform x:Name="LoadingVisualAngleTransform" Angle="0" CenterY="0.5" CenterX="0.5" /> </TransformGroup> </Grid.RenderTransform> <Path Data="M1,0 A1,1,90,1,1,0,-1" Height="10" StrokeStartLineCap="Round" Stretch="Fill" Stroke="{TemplateBinding Foreground}" StrokeThickness="1" Width="10" /> <Path Data="M0,-1.1 L0.1,-1 L0,-0.9" Fill="{TemplateBinding Foreground}" HorizontalAlignment="Left" Height="4" Margin="5,-1.5,0,0" Stretch="Fill" StrokeThickness="1" VerticalAlignment="Top" Width="4" /> </Grid> </Grid> </Border> <Image x:Name="Image" Grid.Column="3" HorizontalAlignment="Center" MaxWidth="16" MaxHeight="16" Margin="2" VerticalAlignment="Center" /> <Rectangle x:Name="FocusVisual" Grid.ColumnSpan="6" Grid.Column="0" IsHitTestVisible="False" RadiusY="3" RadiusX="3" Stroke="{StaticResource FocusBrushBlack}" StrokeThickness="1" StrokeDashArray="1 2" Visibility="Collapsed" /> <Grid Visibility="Collapsed" Grid.ColumnSpan="2" Grid.Column="4" Background="Transparent"> <ContentPresenter x:Name="Header" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> <ContentPresenter x:Name="EditHeaderElement" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" Visibility="Collapsed" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> </Grid> </Grid> <ItemsPresenter x:Name="ItemsHost" Grid.Row="1" Visibility="Collapsed" /> </Grid> </ControlTemplate> </Setter.Value> </Setter> </Style>Gah, sorry for the messed up edits.