C# 클래스 SystemEx.Windows.Forms.RichTextBoxExtended

상속: System.Windows.Forms.UserControl, Sekos.ComponentModel.IAutoBinder
파일 보기 프로젝트 열기: pvginkel/SystemEx 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
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