ClassRadMarkupDialog
A dialog that allows users to edit and apply markup formatting to text.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadMarkupEditor.dll
Syntax:
[TelerikToolboxCategory("Dialogs")]
public class RadMarkupDialog : CommonDialog, IComponent, IDisposable
Inheritance: objectMarshalByRefObjectComponentCommonDialogRadMarkupDialog
Implements:
Inherited Members
Constructors
RadMarkupDialog()
Initializes a new instance of the RadMarkupDialog class.
Declaration
public RadMarkupDialog()
Properties
DefaultFont
Gets or sets the default font used when the editor is started. No formatting tags are added for this font as it is considered the default. Users can still explicitly set font name and size using the editor controls.
Editor
Gets the RadMarkupEditor instance used within the dialog.
Form
Gets the ShapedForm instance used to host the markup editor.
ThemeName
Gets or sets the name of the theme applied to the dialog.
Value
Gets or sets the markup text being edited. Set this property before showing the dialog to provide initial content, and retrieve it after the dialog closes to get the user's changes. Use the DialogResult to determine if the user applied changes or canceled.
Methods
Dispose(bool)
Releases the resources used by the RadMarkupDialog.
Reset()
Resets the dialog by clearing the markup text value.
Declaration
public override void Reset()
Overrides
RunDialog(IntPtr)
Displays the modal dialog box.