[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.MaskEnumerationField.Activate

Activate Method

Activate()

Attempts to activate current field and put caret to default caret position.

Declaration
public bool Activate()
Public Function Activate() As Boolean
Returns
Type Description
bool

true if caret could be set to this element; Otherwise, false

Remarks

When user want to set the caret to this field, user can call this method. If the owner control has focus, it will make the field active immediately; If the owner control has no focus, it will set the selection start at the first place of current field. If the caret in the field, call this method, nothing happen; If the caret not in the field, call this method, when control got focus, the caret will in the left-most of that field.