C1Editor Run-Time Elements > C1Editor Dialog Boxes |
Within the C1Editor control are several dialog boxes that users can employ to edit Xhtml documents.
You can easily show a dialog box when a button is clicked, for example, simply by using the ShowDialog method and specifying the DialogType.
For example, to show the PageSetup dialog box when a button is clicked, you would use the following code:
To write code in C#
C# |
Copy Code
|
---|---|
private void button7_Click(object sender, EventArgs e) { c1Editor1.ShowDialog(C1.Win.C1Editor.DialogType.PageSetup); } |
The following topics detail the dialog boxes that can be accessed through the C1Editor control. In some cases you may need to show your own customized versions of the dialog boxes. See Using a Custom Dialog Box for steps on how to do this.