C# Класс SystemEx.Windows.Forms.RichTextBoxExtended

Наследование: System.Windows.Forms.UserControl, Sekos.ComponentModel.IAutoBinder
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DefaultTextFont System.Drawing.Font

Private Properties

Свойство Тип Описание
Color_Click void
FontSize_Click void
Font_Click void
InitializeComponent void
RichTextBoxExtended_Leave void
RichTextBoxExtended_Load void
SetDefaultFont void
UpdateToolbarSeperators void
rtb1_LinkClicked void
rtb1_SelectionChanged void
rtb1_TextChanged void
tb1_ButtonClick void

Открытые методы

Метод Описание
AutoBindAvailable ( IAgilepagesItem item ) : bool
ChangeFont ( string fontFamily ) : void

Change the richtextbox font for the current selection

ChangeFontColor ( Color newColor ) : void

Change the richtextbox font color for the current selection

ChangeFontSize ( float fontSize ) : void

Change the richtextbox font size for the current selection

ChangeFontStyle ( FontStyle style, bool add ) : void

Change the richtextbox style for the current selection

DoAutoBind ( Sekos item, Sekos specify ) : void
GetFontDetails ( ) : Font

Returns a Font with: 1) The font applying to the entire selection, if none is the default font. 2) The font size applying to the entire selection, if none is the size of the default font. 3) A style containing the attributes that are common to the entire selection, default regular.

RichTextBoxExtended ( ) : System.Collections.Generic
UpdateToolbar ( ) : void

Update the toolbar button statuses

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnStamp ( EventArgs e ) : void

OnStamp event

Приватные методы

Метод Описание
Color_Click ( object sender, System e ) : void

Change the richtextbox color

FontSize_Click ( object sender, System e ) : void

Change the richtextbox font size

Font_Click ( object sender, System e ) : void

Change the richtextbox font

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RichTextBoxExtended_Leave ( object sender, System e ) : void
RichTextBoxExtended_Load ( object sender, EventArgs e ) : void
SetDefaultFont ( ) : void
UpdateToolbarSeperators ( ) : void
rtb1_LinkClicked ( object sender, System e ) : void

Starts the default browser if a link is clicked

rtb1_SelectionChanged ( object sender, System e ) : void

Change the toolbar buttons when new text is selected and raise event SelChanged

rtb1_TextChanged ( object sender, System e ) : void
tb1_ButtonClick ( object sender, System e ) : void

Handler for the toolbar button click event

Описание методов

AutoBindAvailable() публичный статический Метод

public static AutoBindAvailable ( IAgilepagesItem item ) : bool
item IAgilepagesItem
Результат bool

ChangeFont() публичный Метод

Change the richtextbox font for the current selection
public ChangeFont ( string fontFamily ) : void
fontFamily string
Результат void

ChangeFontColor() публичный Метод

Change the richtextbox font color for the current selection
public ChangeFontColor ( Color newColor ) : void
newColor Color
Результат void

ChangeFontSize() публичный Метод

Change the richtextbox font size for the current selection
public ChangeFontSize ( float fontSize ) : void
fontSize float
Результат void

ChangeFontStyle() публичный Метод

Change the richtextbox style for the current selection
public ChangeFontStyle ( FontStyle style, bool add ) : void
style FontStyle
add bool
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

DoAutoBind() публичный Метод

public DoAutoBind ( Sekos item, Sekos specify ) : void
item Sekos
specify Sekos
Результат void

GetFontDetails() публичный Метод

Returns a Font with: 1) The font applying to the entire selection, if none is the default font. 2) The font size applying to the entire selection, if none is the size of the default font. 3) A style containing the attributes that are common to the entire selection, default regular.
public GetFontDetails ( ) : Font
Результат System.Drawing.Font

OnStamp() защищенный Метод

OnStamp event
protected OnStamp ( EventArgs e ) : void
e System.EventArgs
Результат void

RichTextBoxExtended() публичный Метод

public RichTextBoxExtended ( ) : System.Collections.Generic
Результат System.Collections.Generic

UpdateToolbar() публичный Метод

Update the toolbar button statuses
public UpdateToolbar ( ) : void
Результат void

Описание свойств

DefaultTextFont публичное статическое свойство

public static Font,System.Drawing DefaultTextFont
Результат System.Drawing.Font