ToolTip text of HorizontalSplitter is not translated

3 posts, 0 answers
  1. Rainer
    Rainer avatar
    7 posts
    Member since:
    Sep 2012

    Posted 29 Sep 2011 Link to this post

    Hello,

    the ToolTip text "Start dragging in order to change items' position" is not translated in german culture.

    OutlookBar_style.xaml:

    ...
    <ToolTipService.ToolTip>
        <TextBlock Text="Start dragging in order to change items' position"
               telerik:LocalizationManager.ResourceKey="OutlookBarHorizontalSplitter" />
    </ToolTipService.ToolTip>
    ...


    As workaround I tried to set the ToolTip-Text by setting the HorizontalSplitterStyle like this:

    ...
    <UserControl.Resources>
        <Style x:Name="OutlookBarHorizontalSplitter" TargetType="Thumb">
            <Setter Property="ToolTip" Value="My localized Text"/>
        </Style>
    </UserControl.Resources>
     
    <Grid>
        <telerik:RadOutlookBar x:Name="MenuOutlookBar"
                       HorizontalSplitterStyle="{DynamicResource OutlookBarHorizontalSplitter}">
    ...

    Unfortuately after this the whole Style of the HorizontalSplitter is lost and the Tooltip is still default.

    Please let me know if there is a solution for this issue.

    Regards
    Rainer

  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 04 Oct 2011 Link to this post

    Hi Rainer,

     The localized strings in the RadOutlookBar are:
    "OutlookBarHorizontalSplitter"
    "OutlookBarVerticalResizer"
    "OutlookBarConfigureButtons"
    and you can create your own custom localization as shown in the attached example (It is an SL solution but the approach could be used in WPF too). Basically, it follow this documentation article. Please let us  know if you need assistance in converting this to WPF.

    Kind regards,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Rainer
    Rainer avatar
    7 posts
    Member since:
    Sep 2012

    Posted 03 Nov 2011 Link to this post

    Hello Petar,

    thank you. Your solution works fine for me.

    Regards
    Rainer
Back to Top