Page 1 of 1

Blazor - Hide tooltips in Viewer

Posted: Thu Dec 08, 2022 7:49 pm
by Jose
Hi!

I don't want to see the tooltips in the Viewer. For example: Print, First Page, Next Page.
I tried this: StiOptions.Appearance.ShowTooltipsHelp = false;
but no effect.

Than you

Regards
Attila

Re: Blazor - Hide tooltips in Viewer

Posted: Fri Dec 09, 2022 10:43 am
by Lech Kulikowski
Hello,

Do you need to hide these buttons or only tooltips for these buttons?

Thank you.

Re: Blazor - Hide tooltips in Viewer

Posted: Fri Dec 09, 2022 10:58 am
by Jose
Hi!

Only the tooltips.
(These tooltips almost completely hide the buttons unforunately.)

Thanks.

Attila

Re: Blazor - Hide tooltips in Viewer

Posted: Mon Dec 12, 2022 10:15 pm
by Lech Kulikowski
Hello,

We need some additional time to investigate the issue, we will let you know about the result.

Thank you.

Re: Blazor - Hide tooltips in Viewer

Posted: Tue Dec 13, 2022 12:37 pm
by Max Shamanov
Hello,

You need to use this following code:

Code: Select all

 
 <StiBlazorViewer ID="WebViewer1" Options="@Options" />
 
 public StiBlazorViewerOptions Options = new StiBlazorViewerOptions()
        {
            Appearance =
        {
            ShowTooltips = false
        }
        };
        
or

Code: Select all

 <StiBlazorViewer ID="WebViewer1" Options="@Options" />

 public StiBlazorViewerOptions Options = new StiBlazorViewerOptions();
   
    protected override void OnInitialized()
    {
        base.OnInitialized();
        Options.Appearance.ShowTooltips = false;
        }
Thank you.

Re: Blazor - Hide tooltips in Viewer

Posted: Tue Dec 13, 2022 4:05 pm
by Jose
Hi!

Thank you very much.
That's what I want (Beatles :-)

Best Regards
Attila

Re: Blazor - Hide tooltips in Viewer

Posted: Wed Dec 14, 2022 6:35 am
by Max Shamanov
Hello,

You are Welcome!