Class frmReplaceDialog
Represents a window or dialog box that is used for replacing defined text.
Inherited Members
Namespace: Syncfusion.Windows.Forms.Edit.Dialogs
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class frmReplaceDialog : FrmFindDialog, IReplaceDialogForm, IFindDialogForm
Constructors
frmReplaceDialog()
Initializes a new instance of the frmReplaceDialog class.
Declaration
public frmReplaceDialog()
frmReplaceDialog(StreamEditControl)
Initializes a new instance of the frmReplaceDialog class.
Declaration
public frmReplaceDialog(StreamEditControl parent)
Parameters
Type | Name | Description |
---|---|---|
StreamEditControl | parent | StreamEditControl. |
Properties
ReplaceHistory
Gets the collection of replacing text history.
Declaration
public ArrayList ReplaceHistory { get; }
Property Value
Type |
---|
System.Collections.ArrayList |
ReplaceText
Gets or sets text for replacing.
Declaration
public string ReplaceText { get; set; }
Property Value
Type |
---|
System.String |
Methods
CreateAccessibilityInstance()
New instance for replace dialog accessible object
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
Type | Description |
---|---|
System.Windows.Forms.AccessibleObject | ReplaceDialogAccessibility |
Overrides
Dispose(Boolean)
Disposes all resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | True to release both managed and unmanaged resources; false to release only unmanaged resources. |
Overrides
FindNext()
Invokes searching process.
Declaration
public override FindNextResult FindNext()
Returns
Type | Description |
---|---|
FindNextResult | Find result. |
Overrides
GetActiveComboBox()
Returns active comboBox for editing data.
Declaration
protected override ComboBoxAdv GetActiveComboBox()
Returns
Type | Description |
---|---|
ComboBoxAdv | Active combo box. |
Overrides
OnActivated(EventArgs)
Overriden. Raises when dialog shows.
Declaration
protected override void OnActivated(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | EventArgs. |
Overrides
ReplaceNext()
Invokes replacing process.
Declaration
public void ReplaceNext()
ToggleButtons()
Overriden. Disables/enables regexp buttons.
Declaration
protected override void ToggleButtons()
Overrides
ToggleElementsEnable()
Overriden. Enables/disables replace buttons.
Declaration
protected override void ToggleElementsEnable()