[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SearchDialog

SearchDialog Class

Represents a search dialog.

Namespace: FarPoint.Win.Spread
Assembly: FarPoint.Win.Spread.dll
Syntax
public class SearchDialog : Form, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Public Class SearchDialog
    Inherits Form
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl

Fields

Name Description
searchText

Internal use only. Search text.

Properties

Name Description
AlternateSearch

Gets or sets whether to search down rows first then across columns, which is the alternate way of searching.

CaseSensitive

Gets or sets whether to consider upper case and lower case when performing the search.

ExactMatch

Gets or sets whether to consider only strings that match exactly.

FoundColumnIndex

Gets the column index of the matched string.

FoundRowIndex

Gets the row index of the matched string.

FoundSheetIndex

Gets the sheet index of the matched string.

FoundString

Gets the string that matches the one searched for.

RepeatFromStart

Gets or sets whether to repeat the search from the start.

SearchString

Gets or sets the string for which to search.

SearchStrings

Gets the strings that were searched for in the search dialog.

SheetIndex

Gets or sets the index of the sheet to search.

StartColumnIndex

Gets or sets the column at which to start the search.

StartRowIndex

Gets or sets the row at which to start the search.

UseWildcards

Gets or sets whether to use wildcard characters in the search.

Methods

Name Description
Dispose(bool)

Cleans up any resources being used.

DoSearch(int, int, int, ref int, ref int)

Internal use only.

OnClosing(CancelEventArgs)

Occurs on closing.

OnStringNotFound(CancelEventArgs)

Occurs when the search does not find the string.

PaintSeparator(Label, PaintEventArgs)

Paints a highlighted line from the end of a label control text to the width of the control to make the label look more like a separator.

SetCustomText(string, string, string, string, string, string, string, string, string)

Sets the custom text in the form to specified values.

SetCustomText(string, string, string, string, string, string, string, string, string, string)

Sets the custom text in the form to specified values.

SetCustomTextToDefaults()

Sets the custom text in the form to default values.

findNext_Click(object, EventArgs)

Internal use only. Occurs when the next click.

Events

Name Description
StringNotFound

Occurs when the search is cancelled with the string not found.