Look & Feel

Posted by: vtortola on 3 August 2017, 3:51 pm EST

  • Posted 3 August 2017, 3:51 pm EST

    Hi,

    I'm looking to make the analysis component feel more like an integrated part of my application, ideally using similar color schemes to the rest of my application.

    I saw a screen shot in the forum but I don't know if is a former version of the component or there is a way to get this appearance: http://www.datadynamics.com/forums/105711/ShowPost.aspx

    I found this as well: http://www.datadynamics.com/forums/118453/ShowPost.aspx

    Cheers.
  • Replied 3 August 2017, 3:51 pm EST

    vtortola,
    You can change the look and feel of ddAnalysis by applying a Theme.  A theme can be applied to the PivotView by using the static LoadTheme method of the PivotView class (i.e. DataDynamics.Analysis.Windows.Forms.PivotView.LoadTheme(new System.IO.FileInfo("ThemeFile.xml")); ). Some predefined themes are installed with the product and can be found in My Documents\Data Dynamics\Analysis\Themes.  Unfortunately, I do not believe a theme matching the screen shots from the first forum post you mentioned is included (as this post appears to be from a very early beta version).  The screen shot in the second post appears to be using the default settings from the latest build.  However, as the theme files are XML documents you can use the included themes as building blocks to creating your own custom theme.

    If you have any additional questions please feel free to let me know.
  • Replied 3 August 2017, 3:51 pm EST

    Thanks!
  • Replied 3 August 2017, 3:51 pm EST

    humm... do you know how could I change the toolbar border color? or hide the toolbar border? is awful :D

    Cheers.
  • Replied 3 August 2017, 3:51 pm EST

    vtortola,
    Unfortunately, there is not a way to change the toolbar border with a theme or a property.  However, it could be modified by providing a custom renderer object to the ToolStrip control within the PivotView control. I have attached a sample project which demonstrates how to reference the toolbar and provide it with a custom renderer object which overrides the OnRenderToolStripBorder method to control the rendering of the toolbar's border.

    If you have any additional questions please feel free to let me know.

    2008/11/ddaToolbarBorder.zip
  • Replied 3 August 2017, 3:51 pm EST

    Thank you very much.

    Cheers.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels