property is not in 2012Q2 sp1 Version Control.

2 posts, 0 answers
  1. lee doo
    lee doo avatar
    4 posts
    Member since:
    Nov 2009

    Posted 27 Jul 2012 Link to this post

    I Use latest Version control.
    that property set Bold Font is not latest Version.

    What is Property Replaced?

    Thank you.
    <Style x:Key="RadHorizontalBulletGraphStyle" TargetType="telerik:RadHorizontalBulletGraph">  
      <Setter Property="ComparativeMeasureThickness" Value="2"/>  
      <Setter Property="FontSize" Value="10"/>
      <Setter Property="Template">
       <Setter.Value>
        <ControlTemplate TargetType="telerik:RadHorizontalBulletGraph">
         <Grid>
          <Grid.RowDefinitions>
           <RowDefinition Height="*"/>
           <RowDefinition Height="Auto"/>
          </Grid.RowDefinitions>
                            <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="0">
                                <Grid>
                                    <telerik:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}"/>
                                    <telerik:PositioningIndicatorPanel x:Name="PART_AxisPanel"/>
                                    <Grid>
                                        <Grid.Resources>
                                            <Style TargetType="telerik:BarItem">
                                                <Setter Property="LengthPercent" Value="1" />
                                            </Style>
                                        </Grid.Resources>
                                        <Grid.RowDefinitions>
                                            <RowDefinition Height="3*" />
                                            <RowDefinition Height="1.5*" />
                                        </Grid.RowDefinitions>
                                        <telerik:FeaturedMeasurePresenter Grid.Row="0" ChildrenSource="{TemplateBinding FeaturedMeasures}"/>
                                        <telerik:ProjectedMeasurePresenter Grid.Row="1" Margin="0,1,0,0" ChildrenSource="{TemplateBinding ProjectedMeasures}"/> --> Error, here property Is not in Class

                                        
                                    </Grid>
                                    <telerik:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}"/>
                                </Grid>
                            </Border>
                            <telerik:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Opacity="0.6" RenderTransformOrigin="0.5,0.5" >
           <telerik:QuantitativeScaleContainer.RenderTransform>
            <CompositeTransform TranslateY="10"/>
           </telerik:QuantitativeScaleContainer.RenderTransform>
          </telerik:QuantitativeScaleContainer>
         </Grid>
        </ControlTemplate>
       </Setter.Value>
      </Setter>
     </Style>
  2. Rosko
    Admin
    Rosko avatar
    137 posts

    Posted 31 Jul 2012 Link to this post

    Hi,

    Thank you for the detailed instructions.

    Some breaking changes have been done for the past releases which include the removal of the related class and property. A new ControlTemplate has been introduced for RadBulletGraph. If you want for the demo to work with the newest binaries, you need to change it with the following ControlTemplate.

    <ControlTemplate TargetType="telerik:RadHorizontalBulletGraph">
                            <Grid>
                                <Grid.RowDefinitions>
                                    <RowDefinition Height="*"/>
                                    <RowDefinition Height="Auto"/>
                                </Grid.RowDefinitions>
                                <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="0">
                                    <Grid>
                                        <telerik:QualitativeRangeContainer ChildrenSource="{TemplateBinding QualitativeRanges}" Range="{TemplateBinding Range}"/>
                                        <Grid>
                                            <Grid.Resources>
                                                <Style TargetType="telerik:BarItem" BasedOn="{StaticResource BarItemStyle}">
                                                    <Setter Property="LengthPercent" Value="1" />
                                                </Style>
                                            </Grid.Resources>
                                            <Grid.RowDefinitions>
                                                <RowDefinition Height="5*" />
                                                <RowDefinition Height="*" />
                                            </Grid.RowDefinitions>
                                            <telerik:FeaturedMeasurePresenter Grid.Row="0" Content="{TemplateBinding FeaturedMeasureInternal}" Background="#FF333333" />
                                            <telerik:FeaturedMeasurePresenter Grid.Row="1" Content="{TemplateBinding ProjectedMeasureInternal}" Margin="0,1,0,0"  />
                                        </Grid>
                                        <telerik:ComparativeMeasuresContainer ChildrenSource="{TemplateBinding MergedComparativeMeasures}" Range="{TemplateBinding Range}" />
                                    </Grid>
                                </Border>
                                <telerik:QuantitativeScaleContainer Grid.Row="1" TextFormatString="{TemplateBinding TextFormatString}" Visibility="{TemplateBinding QuantitativeScaleVisibility}" Opacity="0.6" RenderTransformOrigin="0.5,0.5" Range="{TemplateBinding Range}"  >
                                    <telerik:QuantitativeScaleContainer.RenderTransform>
                                        <TranslateTransform Y="10"/>
                                    </telerik:QuantitativeScaleContainer.RenderTransform>
                                </telerik:QuantitativeScaleContainer>
                            </Grid>
    </ControlTemplate>

    I hope this will help you to solve the issue.

    Regards,
    Rosko
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top