Spread Silverlight Documentation
InputTitle Property
Example 


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

Property Value

The input title string. The default value is an empty string.
Example
This example sets the InputTitle property.
var valid2 = GrapeCity.Windows.SpreadSheet.Data.DataValidator.CreateTextLengthValidator(GrapeCity.Windows.SpreadSheet.Data.ComparisonOperator.GreaterThan, "4", "20");
valid2.InputMessage = "Type more than four characters";
valid2.InputTitle = "Input Type";
valid2.ShowInputMessage = true;
gcSpreadSheet1.Sheets[0].Cells[2, 1].DataValidator = valid2;
gcSpreadSheet1.Sheets[0].Cells[2, 0].Text = "Type more than four characters.";
Dim valid2 = GrapeCity.Windows.SpreadSheet.Data.DataValidator.CreateTextLengthValidator(GrapeCity.Windows.SpreadSheet.Data.ComparisonOperator.GreaterThan, "4", "20")
valid2.InputMessage = "Type more than four characters"
valid2.InputTitle = "Input Type"
valid2.ShowInputMessage = True
GcSpreadSheet1.Sheets(0).Cells(2, 1).DataValidator = valid2
GcSpreadSheet1.Sheets(0).Cells(2, 0).Text = "Type more than four characters."
Requirements

Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

DataValidator Class
DataValidator Members

 

 


Copyright © GrapeCity, inc. All rights reserved.