FindReplacePopup
Provides the floating find-and-replace interface associated with a RadSyntaxEditorElement.
Definition
Namespace:Telerik.WinControls.UI.SyntaxEditor.UI
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class FindReplacePopup : IntelliPromptBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IThemeChangeListener, IDisposable
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormShapedFormIntelliPromptBaseFindReplacePopup...
Implements:
Inherited Members
Constructors
Creates a find-and-replace popup for the specified editor.
public FindReplacePopup(RadSyntaxEditorElement editor)
The editor whose document is searched and updated by the popup.
Properties
Gets the button that closes the popup.
public RadButton CloseButton { get; }
Gets the button that highlights all matching occurrences.
public RadButton FindAllButton { get; }
Gets the button that navigates to the next matching occurrence.
public RadButton FindNextButton { get; }
Gets the button that navigates to the previous matching occurrence.
public RadButton FindPrevButton { get; }
Gets the button that replaces every matching occurrence.
public RadButton ReplaceAllButton { get; }
Gets the button that replaces the currently found occurrence.
public RadButton ReplaceButton { get; }
ReplaceTextBox
RadTextBox
Gets the text box containing the replacement text.
public RadTextBox ReplaceTextBox { get; }
SearchTextBox
RadTextBox
Gets the text box containing the search term.
public RadTextBox SearchTextBox { get; }
Methods
Calculates the popup's position from the editor presenter's bounds.
protected override Point CalculatePopupLocation(RadSyntaxEditorElement editor)
The editor whose presenter determines the popup position.
Returns:The position aligned with the presenter's top-right edge.
Overrides:
Maps the top, bottom, and right resize edges to caption hit tests; left corners remain left-edge hit tests.
Updates the popup's positioning and owner-form tracking when its visibility changes.
protected override void OnVisibleChanged(EventArgs e)
The event data.
Overrides:
Applies the editor's resolved theme to the popup's search, replacement, and action controls.
protected override void ReadOwnerProperties()
Overrides:
Positions the popup at the upper-right edge of the editor presenter.
protected override void SetPositionInView()
Overrides: