Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SearchDialog Class / CaseSensitive Property
Example


In This Topic
    CaseSensitive Property
    In This Topic
    Gets or sets whether to consider upper case and lower case when performing the search.
    Syntax
    'Declaration
     
    Public Overridable Property CaseSensitive As Boolean
    'Usage
     
    Dim instance As SearchDialog
    Dim value As Boolean
     
    instance.CaseSensitive = value
     
    value = instance.CaseSensitive
    public virtual bool CaseSensitive {get; set;}

    Property Value

    Boolean: true if case matters; false otherwise
    Example
    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;
    
    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
    
    See Also