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.

DashboardControl Class

Hide navigation
RSS
Modified on Fri, 22 Nov 2013 05:37 PM

Table of Contents [Hide/Show]


The base class for controls that can appear on a dashboard.

DashboardControl is a DashboardElement.

Properties

Common

ImageImageProperty Name [Script Name]TypeDescription
ImageEnabled [IsEnabled]boolIndicates whether this control can be interacted with. Some controls have a different appearance when not enabled.

Appearance

ImageImageProperty Name [Script Name]TypeDescription
ImageBackground [Background]DashboardBrushThe background brush of the control.
ImageBorder Brush [BorderBrush]DashboardBrushThe border of the control.
ImageBorder Thickness [BorderThickness]ThicknessThe thickness (in pixels) of the border.
ImageImageBottom [Bottom]doubleThe bottom border thickness, in pixels.
ImageImageLeft [Left]doubleThe left border thickness, in pixels.
ImageImageRight [Right]doubleThe right border thickness, in pixels.
ImageImageTop [Top]doubleThe top border thickness, in pixels.

Layout

ImageImageProperty Name [Script Name]TypeDescription
ImageImagePadding [Padding]ThicknessThe padding around the inside of the control in pixels.
ImageImageBottom [Bottom]doubleThe bottom padding thickness, in pixels.
ImageImageLeft [Left]doubleThe left padding thickness, in pixels.
ImageImageRight [Right]doubleThe right padding thickness, in pixels.
ImageImageTop [Top]doubleThe top padding thickness, in pixels.

Text

ImageImageProperty Name [Script Name]TypeDescription
ImageImageCustom Font [CustomFont]stringA comma-separated list of font names to use when the value of Font Family is set to <Custom>.
ImageFont Brush [Foreground]DashboardBrushThe brush used to paint text. Set to Default (null in script) to use the font brush of the closest parent object with a font brush other than Default, or solid black if all are Default.
ImageFont Family [FontFamily]DashboardFontFamilyThe name of the font used for text. Set to Default to use the font family of the closest parent object with a font family other than Default, or the default system font (Lucida Grande for Western languages) if all are Default.
ImageFont Size [FontSize]doubleThe size of the font in pixels used for text. Set to Auto (double.NaN in script) to use the font size of the closest parent object with a font size other than Auto, or 11 if all are Auto.
ImageFont Style [FontStyle]DashboardFontStyleThe style of the font used for text. Set to Default to use the font style of the closest parent object with a font style other than Default, or Normal if all are Default.
ImageFont Weight [FontWeight]DashboardFontWeightThe weight or thickness of the font used for text. Set to Default to use the font weight of the closest parent object with a font weight other than Default, or Normal if all are Default.

Other

ImageImageProperty Name [Script Name]TypeDescription
ImageTab Index [TabIndex]intThe index that this item is in the tab order.
ImageTab Navigation [TabNavigation]KeyboardNavigationModeThe way tab is navigated to/from within this control.

Related topics


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

Copyright © 2009-2014 Dundas Data Visualization, Inc.