<![CDATA[Dundas Support Zone - DialogDisplayOptions Class]]>http://support.dundas.com/Dashboard5.Library_DialogDisplayOptions.ashxThu, 18 Jun 2020 02:52:12 GMTScrewTurn Wiki RSS Feed Generator<![CDATA[DialogDisplayOptions Class]]>http://support.dundas.com/Dashboard5.Library_DialogDisplayOptions.ashx
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



]]>
Steve C. (stevec@dundas.com)Sat, 08 Sep 2012 20:26:04 GMTCC80E6A7DBA77870E5775C4C71781F57