Completed
Last Updated: 14 Mar 2024 06:33 by Nico
Release 6.8.0
Nico
Created on: 17 Oct 2023 13:45
Category: Toolbar
Type: Feature Request
5
Toolbar: Provide an option to define custom tooltip

I want to change the ButtonToolbarItem Tooltip to an other value then the Text-Property value.

Style ButtonToolbarItemView
<Setter Property="ToolTipProperties.Text" Value="..." /> 

and

xaml
ToolTipProperties.Text="..."

both have no effect. Tooltip keeps showing the Text value

6 comments
Nico
Posted on: 14 Mar 2024 06:33

For anyone out there coming across this:
You have to use Styles to get this work. Each ToolTip text needs its own style. Not great, but works...

Something like

<Style
    x:Key="SaveButtonToolbarItemViewStyle"
    ApplyToDerivedTypes="True"
    BasedOn="{StaticResource ButtonToolbarItemViewBaseStyle}"
    TargetType="telerik:ButtonToolbarItemView">
    <Setter Property="ToolTipProperties.Text" Value="{x:Static localization:Resources.Save}" />
</Style>

<Style
    x:Key="SelectAllButtonToolbarItemViewStyle"
    ApplyToDerivedTypes="True"
    BasedOn="{StaticResource ButtonToolbarItemViewBaseStyle}"
    TargetType="telerik:ButtonToolbarItemView">
    <Setter Property="ToolTipProperties.Text" Value="{x:Static localization:Resources.SelectAll}" />
</Style>

@Telerik: it would be great to have a property on ToolBarItem which exposes the ToolBarItemView. Could make things easier...

ADMIN
Didi
Posted on: 28 Feb 2024 14:13

Hello Nico,

I shared your feedback with the development team and they researched the case. The item status is In Development. If the implemented feature passes the testing process, it will be included in the next release.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Nico
Posted on: 27 Feb 2024 08:12

Hi Didi,

another 4 weeks without progress on this BUG (and not Feature Request !) :(

What does the team say about this after the last update?

Why can't yout just remove the "internal" from

protected internal override void UpdatePropertyBindings(ToolbarItemView itemView)

so i'll be able to change the behaviour myself?

thx

Nico

ADMIN
Didi
Posted on: 23 Jan 2024 07:00

Hello Nico,

There isn't a new information on this case. I have shared your feedback with the team.

The behavior is not a bug, it is a missing feature. The initial implementation for tooltip text gets the value for the text defined in the toolbar item, so currently, custom text is not supported. This is the reason the item is logged as a feature request. 

Regarding to the time needed for the implementation, there is an estimation process for this.

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Nico
Posted on: 23 Jan 2024 06:10

Hi Didi,

any progress on this? 3 month later things become important!
In my optinion this is a design BUG where things have been made easy, not a feature request. It can be fixed in a few minutes...

thx
Nico

ADMIN
Didi
Posted on: 18 Oct 2023 14:01

Hello Nico, 

This is by control implementation. The tooltip shows the text property. I have changed the item to a feature request. So we can provide an option to define another value for the tooltip.

Thank you for this report. 

Regards,
Didi
Progress Telerik

A brand new .NET MAUI course was just added to the Virtual Classroom. The training course is developed to help you get started with the Telerik UI for .NET MAUI components and features. It aims to put you in the shoes of an engineer who adds new features to an existing application. You can check it out at https://learn.telerik.com