GrapeCity.Xaml.SpreadSheet.Data
ShowInputMessage Property (DataValidator)
Example 


Gets or sets whether to show the input message.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ShowInputMessage As Boolean
'Usage
 
Dim instance As DataValidator
Dim value As Boolean
 
instance.ShowInputMessage = value
 
value = instance.ShowInputMessage
[DefaultValue()]
public bool ShowInputMessage {get; set;}

Property Value

true if the data validator shows the input message; otherwise, false. The default value is true.
Example
This example sets the ShowInputMessage property.
//Type a date in cell (0,1)
gcSpreadSheet1.HighlightInvalidData = true;
var valid = GrapeCity.Xaml.SpreadSheet.Data.DataValidator.CreateDateValidator(GrapeCity.Xaml.SpreadSheet.Data.ComparisonOperator.Between, new System.DateTime(2012, 12, 31), DateTime.Now, false);             
gcSpreadSheet1.Sheets[0].Cells[0, 1].DataValidator = valid;
gcSpreadSheet1.Sheets[0].Cells[0, 0].Text = "Formulas";
'Type a date in cell (0,1)
GcSpreadSheet1.HighlightInvalidData = True
Dim valid = GrapeCity.Xaml.SpreadSheet.Data.DataValidator.CreateDateValidator(GrapeCity.Xaml.SpreadSheet.Data.ComparisonOperator.Between, New System.DateTime(2012, 12, 31), DateTime.Now, False)
GcSpreadSheet1.Sheets(0).Cells(0, 1).DataValidator = valid
GcSpreadSheet1.Sheets(0).Cells(0, 0).Text = "Formulas"
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

DataValidator Class
DataValidator Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options