Spread Windows Forms 12.0 Product Documentation
DefaultActiveField Property (GcTimeSpanCellType)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcTimeSpanCellType Class : DefaultActiveField Property
Gets or sets the default active field.
Syntax
'Declaration
 
Public Property DefaultActiveField As TimeSpanFieldInfo
'Usage
 
Dim instance As GcTimeSpanCellType
Dim value As TimeSpanFieldInfo
 
instance.DefaultActiveField = value
 
value = instance.DefaultActiveField
public TimeSpanFieldInfo DefaultActiveField {get; set;}

Property Value

A GrapeCity.Win.Spread.InputMan.CellType.Fields.Field value that indicates the default active field.
The defalut is a null reference (Nothing in Visual Basic).
Exceptions
ExceptionDescription
The specified field don't exist in the GrapeCity.Win.Spread.InputMan.CellType.Fields.TimeSpanFieldCollection.
Remarks
When the control gets focus, the default active field gets focus. If the value of the HighlightText property is HighlightText.Field, all of the text in the field is selected; otherwise, the caret only moves to the first input position.
See Also

Reference

GcTimeSpanCellType Class
GcTimeSpanCellType Members