Quadra

Quadra Offshore

 
  • Increase font size
  • Default font size
  • Decrease font size
Home Silverlight Dialog Control

Dialog Control

E-mail Print PDF

Our Silverlight Dialog control has the following features:

  • Templated xaml
  • Can use user control as content, set title, even set a small window icon to the left of title
  • Can be set to modal/non-modal 
  • Sizeable/User resizeable
  • draggable by title bar
  • Support for absolute/relative positioning

Our example is setting the dialog content to show the a user control (containing the black border, and a stackpanel of a textblock and calendar).   Download the demo & control source.  View the demo online.

Sample Usage:

 
DlgContent d = new DlgContent(); // A user control we made to display as the content for the dialog
Dialog dialog = Dialog.Show(d,DialogStyle.NonModal);
dialog.Resizable = true;
dialog.moveToLocation("0.3*", "0.3*", LocationOriginType.Center);
dialog.Title = "Innovative Title";