Hide() public method

Makes the caret invisible.
public Hide ( ) : void
return void
Example #1
0
        /// <inheritdoc/>
        protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
        {
            base.OnLostKeyboardFocus(e);
            caret.Hide();
            ime.OnLostKeyboardFocus(e);

            // [DIGITALRUNE] Redraw selections.
            TextView.InvalidateLayer(KnownLayer.Selection);
        }
Example #2
0
 /// <inheritdoc/>
 protected override void OnLostKeyboardFocus(KeyboardFocusChangedEventArgs e)
 {
     base.OnLostKeyboardFocus(e);
     caret.Hide();
     ime.OnLostKeyboardFocus(e);
 }