We are pleased to make available version 1.0 of
RapidFindReplace WPF.
Download the
evaluation of RapidFindReplace WPF here.
RapidFindReplace WPF allows developers to easily add find and replace functionality to WPF controls including; text boxes, rich textboxes, combo boxes, data grids, list boxes & more.
Details
Basic Usage
To implement Find/Replace, just drop RapidFindReplacePopupControl on to a Window - it will automatically scope itself to search over the entire Window and can be opened with the Find ApplicationCommand (i.e. CTRL-F).
Custom Style
Basic Style Properties
There are simple style properties in the controls (RapidFindReplaceControl and RapidFindReplacePopupControl) that may be set in the designer/xaml. E.g.
BodyHighlightAdornerBrush - the brush used to paint the highlight fill
BodyHighlightAdornerPen - the pen used to paint the highlight border
BodyIterativeHighlightAdornerBrush - the brush used to paint the highlight fill shown as the user iterates over matches
Extensive Styling (Template)
As with other WPF controls, RapidFindReplaceControl and RapidFindReplacePopupControl can be re-templated, to give them an entirely new look.
Docking Position
The RapidFindReplacePopup control can be opened initially in various places on the Window. The user can drag the popup by the title bar, and resize it with the thumb grip.
DockingPosition can be set to TopLeft, TopCenter, TopRight, MiddleLeft, MiddleCenter, MiddleRight, BottomLeft, BottomCenter, or BottomRight.
Office Style
To use the built-in Office styling, import the resource dictionary from the RapidFindReplace assembly, and set the style to the resource RapidFindReplacePopupControlMSWordStyle.
ViewModel Usage
It is possible to do Find/Replace without the RapidFindReplace controls - instead the control's ViewModel class (RapidFindReplaceControlViewModel) may be used directly.
A TextBox is bound to the Query DependencyProperty in RapidFindReplaceControlViewModel, a KeyUp handler is used to trigger as-you-type finds and the Button fires the FindTextCommand in the view model.
This style of usage allows lower level access and the opportunity to build a Find/Replace UI from scratch.
Please feel free to post here or email support at keyoti.com with any questions.
Thank you,
Keyoti Inc