416.467.9100 | Dundas Data Visualization | Login
Welcome Guest
This is the support page for the legacy Dundas Dashboard application. For assistance with the current Dundas BI application please click here.
Dashboard v5.0

This site makes extensive use of JavaScript.

Please enable JavaScript in your web browser and reload the page before proceeding.

DialogDisplayOptions Class

Hide navigation
RSS
Modified on Sat, 08 Sep 2012 04:26 PM Categorized as Library Reference

This class is used to specify the display options for dialogs launched from script.

Properties

ImageImageProperty Name [Script Name]TypeDescription
CurrentPosition [CurrentPosition]Nullable<Point>Gets or sets the current position.
HeaderBackgroundBrush [HeaderBackgroundBrush]DashboardBrushGets or sets the header background brush.
Height [Height]doubleGets or sets the height. Providing double.NaN will mean use default.
Id [Id]stringGets or sets the id. The id can used to identify this dialog later when wanting to close it.
InitialStartPosition [InitialStartPosition]Nullable<Point>The initial start position of the dialog.
IsHeaderVisible [IsHeaderVisible]boolGets or sets a value indicating whether the header is visible.
IsUserResizable [IsUserResizable]boolGets or sets a value indicating whether this dialog can be re-sized by the user.
StartCentered [StartCentered]boolGets or sets a value indicating whether the dialog should start centered. Providing false will either use initial start position, or default position if start position is not specified.
Title [Title]stringGets or sets the title displayed in the dialog.
TitleBrush [TitleBrush]DashboardBrushGets or sets the title brush.
Width [Width]doubleGets or sets the width. Providing double.NaN will mean use default.

Methods

Constructors

Constructors for the class.

  • DialogDisplayOptions()
  • DialogDisplayOptions( string id, bool startCentered, Nullable<Point> initialStartPosition, double width, double height )

Where:

  • id - The dialog ID.
  • startCentered - Whether the dialog should start centered.
  • initialStartPosition - The initial start position of the dialog.
  • width - The width of the dialog.
  • height - The height of the dialog.

Example:

DialogDisplayOptions options = new DialogDisplayOptions("test123", false, null, double.NaN, double.NaN); options.IsUserResizable = false; services.ShowDashboardDialog("a0a823fa-c2f8-4493-989f-942c89f7447d", e, options);

Related topics



About Dundas | Contact Us Follow us on Twitter! | Privacy Statement | Report Site Issues

Copyright © 2009-2014 Dundas Data Visualization, Inc.