Back to API Home

A dialog box that supports user resizing through the mouse and movement by dragging the dialog header.

Namespace: Dundas.Dashboard.Controls
Assembly: Dundas.Dashboard.Client (in Dundas.Dashboard.Client.dll) Version: 5.0.0.0 (5.5.0.1000)

Syntax

C#
[TemplatePartAttribute(Name = "CloseButtonElement", Type = typeof(Button))]
[TemplatePartAttribute(Name = "BorderElement", Type = typeof(ClipBorder))]
[TemplatePartAttribute(Name = "DialogLayoutRoot", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "HeaderElement", Type = typeof(Grid))]
[TemplatePartAttribute(Name = "ContentRoot", Type = typeof(FrameworkElement))]
[TemplatePartAttribute(Name = "ButtonContainer", Type = typeof(Panel))]
public class Dialog : ContentControl
Visual Basic
<TemplatePartAttribute(Name := "CloseButtonElement", Type := GetType(Button))> 
<TemplatePartAttribute(Name := "BorderElement", Type := GetType(ClipBorder))> 
<TemplatePartAttribute(Name := "DialogLayoutRoot", Type := GetType(Grid))> 
<TemplatePartAttribute(Name := "HeaderElement", Type := GetType(Grid))> 
<TemplatePartAttribute(Name := "ContentRoot", Type := GetType(FrameworkElement))> 
<TemplatePartAttribute(Name := "ButtonContainer", Type := GetType(Panel))> 
Public Class Dialog
	Inherits ContentControl

Remarks

The parent the dialog is added should be a grid with one row/column at the root of the application.

Inheritance Hierarchy

See Also