/// <summary> /// Sets the font style for the selected text of the RichTextBox /// </summary> /// <param name="fontStyle">Font style to apply to selected text</param> /// <returns>Returns true on success, false on failure</returns> public static bool SelectionFontStyle(this RichTextBox richTextBox, FontStyle fontStyle) { return(RichTextBoxHelper.SelectionFontStyle(richTextBox, fontStyle)); }