Language support for the scrollbar context menu

Docking/MDI for WPF Forum

Posted 11 years ago by Jürgen Schwer
Version: 13.1.0582
Platform: .NET 4.0
Environment: Windows 7 (64-bit)
Avatar

Hi,

at the moment I am searching for a way on having language support within the scrollbar context menu. It contains entries like Scroll Here, ..., Scroll up, Scroll Down. You get it by right clicking on the scrollbar.

So far I know two ways on changing the language for context menus:

1. dynamic:

void OnContextMenuOpening(sender, args)

...

   item.Header = "mytext"

2. static:

SetCustomString

SetCustomString("actipro_key", "mytext");

 

Both solutions work in general, but not in the case of this scrollbar context menu.

What I found out is, that there existed a way to change the scrollbar context menu entries in earlier versions of ActiPro.

It used to work like this:

ActiproSoftware.Products.WinUICore.AssemblyInfo.Instance.Resources.SetCustomString(name, value);

This functionality has been available in "ActiproSoftware.WinUICore.Net20.dll".

So my questions are:

Do I still have this possibility in ActioPro 2013.1?

Do I need to install a special component?

Is there a way to remove this context menu in general?

Thank you & best regards

Comments (1)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi,

Per this previous thread, you can do SetCustomString calls to customize any string resources in our Docking/MDI product.  However ScrollBar context menus aren't anything that we control, since they are part of the native WPF ScrollBar control.  So I Imagine that you'd need to set a custom ContextMenu instance on those to customize them.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.