[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.DefaultActiveField

DefaultActiveField Property

DefaultActiveField

Gets or sets the default active field.

Declaration
[TypeConverter(typeof(GcTimeSpanDefaultActiveFieldInfoTypeConverter))]
public TimeSpanFieldInfo DefaultActiveField { get; set; }
<TypeConverter(GetType(GcTimeSpanDefaultActiveFieldInfoTypeConverter))>
Public Property DefaultActiveField As TimeSpanFieldInfo
Property Value
Type Description
TimeSpanFieldInfo

A Field value that indicates the default active field.
The defalut is null.

Remarks

When the control gets focus, the default active field gets focus. If the value of the HighlightText property is Field, all of the text in the field is selected; otherwise, the caret only moves to the first input position.

Exceptions
Type Condition
ArithmeticException

The specified field don't exist in the TimeSpanFieldCollection.