GrapeCity.Xaml.SpreadSheet.Data
InputTitle Property
Example 


GrapeCity.Xaml.SpreadSheet.Data Namespace > DataValidator Class : InputTitle Property
Gets or sets the input title string.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property InputTitle As String
'Usage
 
Dim instance As DataValidator
Dim value As String
 
instance.InputTitle = value
 
value = instance.InputTitle
[DefaultValue()]
public string InputTitle {get; set;}

Property Value

The input title string. The default value is an empty string.
Example
This example sets the InputTitle 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"
See Also

Reference

DataValidator Class
DataValidator Members