Tooltip of floating document window

Docking/MDI for WPF Forum

Posted 6 months ago by Yuki
Version: 23.1.4
Avatar

Hello,

  

Regarding to tooltip of buttons of floating document window. (Minimize, Maximize, Close)

Is it possible to use the same tooltip string as WPF Window?

  • Floating document window : Probably English
  • WPF Window : up tp language settings of OS

You provide `SR.SetCustomString()`, but it is very tough to prepare strings of all language...

If any good solution, please let us know.

Best regards,

Comments (1)

Posted 6 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

WindowChrome makes a custom template for Window and that template defines WPF buttons to use in the custom window title bar that is used in place of the native Win32 title bar.  We define tooltips for those buttons and have them use string resource values as the tooltip content.  The tooltips do default to English but can be overridden at app startup as you saw.

We are not aware of anything in WPF that provides access to a localized tooltip text for such buttons though, so you must unfortunately manually translate those string resources.  If you do find some way to obtain the localized tooltip text, you could get those localized values at app startup and call SR.SetCustomString() to apply the localized values.


Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.