Spread Windows Forms 10.0 Product Documentation
DefaultActiveField Property (GcTimeSpanCellType)


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
System.ArithmeticExceptionThe 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.
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10

See Also

Reference

GcTimeSpanCellType Class
GcTimeSpanCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.