ShowDesignButton

Stimulsoft Reports.Silverlight discussion
Locked
MtheP
Posts: 24
Joined: Mon Jul 18, 2011 7:37 am

ShowDesignButton

Post by MtheP »

Dear Stimulsoft,

In the latest demo of the Silverlight Clientyou have a Design report button (ShowDesignButton). Is there an options to turn this on or is it a customized (If so can you share the code)

Kind Regards
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: ShowDesignButton

Post by HighAley »

Hello.

We didn't exactly understand your problem.
Please, describe it more detailed.
Here is our code:

Code: Select all

            StiToolBar toolBar = new StiToolBar();
            toolBar.Height = 28;
            toolBar.SetValue(DockPanel.DockProperty, Dock.Right);
            toolBar.Margin = new Thickness(4, 2, 2, 2);

            #region buttonDesign
            RibbonButton buttonDesign = new RibbonButton();
            buttonDesign.Content = "Design";
            buttonDesign.MinWidth = 130;
            buttonDesign.Height = 24;
            #endregion

            toolBar.Items.Add(buttonDesign);
            this.viewerControl.ToolbarPanel.Children.Insert(0, toolBar);
Thank you.
Locked