Spread Windows Forms 6.0 Product Documentation
ExactMatch Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SearchDialog Class : ExactMatch Property


Glossary Item Box

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

Syntax

Visual Basic (Declaration) 
Public Overridable Property ExactMatch As Boolean
Visual Basic (Usage)Copy Code
Dim instance As SearchDialog
Dim value As Boolean
 
instance.ExactMatch = value
 
value = instance.ExactMatch
C# 
public virtual bool ExactMatch {get; set;}

Property Value

Boolean: true to find exact match; false otherwise

Example

C#Copy Code
fpSpread1.SearchWithDialog("");

fpSpread1.SearchDialog.AlternateSearch = true;

fpSpread1.SearchDialog.CaseSensitive = false;

fpSpread1.SearchDialog.ExactMatch = false;

fpSpread1.SearchDialog.SearchString = "155";

fpSpread1.SearchDialog.SheetIndex = 0;

fpSpread1.SearchDialog.StartColumnIndex = 0;

fpSpread1.SearchDialog.StartRowIndex = 0;

fpSpread1.SearchDialog.UseWildcards = false;
Visual BasicCopy Code
FpSpread1.SearchWithDialog("")

FpSpread1.SearchDialog.AlternateSearch = True

FpSpread1.SearchDialog.CaseSensitive = False

FpSpread1.SearchDialog.ExactMatch = False

FpSpread1.SearchDialog.SearchString = "155"

FpSpread1.SearchDialog.SheetIndex = 0

FpSpread1.SearchDialog.StartColumnIndex = 0

FpSpread1.SearchDialog.StartRowIndex = 0

FpSpread1.SearchDialog.UseWildcards = False

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2002-2012 ComponentOne, a division of GrapeCity. All Rights Reserved.