RichTextBox for WPF | ComponentOne
C1.WPF.RichTextBox Namespace / C1RichTextBox Class / Focus Method

In This Topic
    Focus Method (C1RichTextBox)
    In This Topic
    Attempts to set the focus on the control.
    Syntax
    'Declaration
     
    
    Public Shadows Function Focus() As Boolean
    public new bool Focus()

    Return Value

    true if focus was set to the control, or focus was already on the control. false if the control is not focusable.
    See Also