SearchEventArgs Class
Provides data for a Search event in the ReportViewer control.
Namespace: Microsoft.Reporting.WinForms
Assembly: Microsoft.ReportViewer.WinForms (in Microsoft.ReportViewer.WinForms.dll)
Inheritance Hierarchy
System.Object
System.EventArgs
System.ComponentModel.CancelEventArgs
Microsoft.Reporting.WinForms.SearchEventArgs
Syntax
[ComVisibleAttribute(false)]
public sealed class SearchEventArgs : CancelEventArgs
[ComVisibleAttribute(false)]
public ref class SearchEventArgs sealed : CancelEventArgs
[<Sealed>]
[<ComVisibleAttribute(false)>]
type SearchEventArgs =
class
inherit CancelEventArgs
end
<ComVisibleAttribute(False)>
Public NotInheritable Class SearchEventArgs
Inherits CancelEventArgs
Constructors
Name | Description | |
---|---|---|
SearchEventArgs(String, Int32, Boolean) | Constructs a SearchEventArgs object. |
Properties
Name | Description | |
---|---|---|
Cancel | (Inherited from CancelEventArgs.) |
|
IsFindNext | Indicates that this event is occurring as a result of a Find Next command. |
|
SearchString | Returns the search string being used for the search. |
|
StartPage | Returns the page number on which to start searching. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Remarks
This is passed to the SearchEventHandler delegate when a Find event occurs.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Reporting.WinForms Namespace
Return to top