# C1Editor Dialog Boxes

C1Editor for WinForms control includes many different dialog box that can help users to edit the XHTML documents.

## Content



Within the [C1Editor](/componentone/api/win/online-richtexteditor/dotnet-framework-api/C1.Win.C1Editor.4.8/C1.Win.C1Editor.C1Editor.html) 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](/componentone/api/win/online-richtexteditor/dotnet-framework-api/C1.Win.C1Editor.4.8/C1.Win.C1Editor.C1Editor.ShowDialog.html) method and specifying the [DialogType](/componentone/api/win/online-richtexteditor/dotnet-framework-api/C1.Win.C1Editor.4.8/C1.Win.C1Editor.DialogType.html).

For example, to show the **PageSetup** dialog box when a button is clicked, you would use the following code:

DOC-DETAILS-TAG-OPEN

DOC-SUMMARY-TAG-OPEN

To write code in C#

DOC-SUMMARY-TAG-CLOSE

```csharp
private void button7_Click(object sender, EventArgs e)
        {
            c1Editor1.ShowDialog(C1.Win.C1Editor.DialogType.PageSetup);
        }
```

DOC-DETAILS-TAG-CLOSE

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](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/usingacustomdialogbo) for steps on how to do this.

## See Also

[Bookmark Properties Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/bookmarkpropertiesdi)

[Movie in Flash Format Properties Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/movieinflashformatpr)

[Find and Replace Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/findandreplacedialog)

[Style Formatting Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/styleformattingdialo)

[Hyperlink Properties Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/hyperlinkpropertiesd)

[Picture Properties Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/picturepropertiesdia)

[Page Setup Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/pagesetupdialogbox)

[Table Properties Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/tablepropertiesdialo)

[Using a Custom Dialog Box](/componentone/docs/win/online-richtexteditor/c1editorruntimeeleme/c1editordialogboxes/usingacustomdialogbo)