C# 클래스 RichTextBoxLinks.RichTextBoxEx

상속: System.Windows.Forms.RichTextBox
파일 보기 프로젝트 열기: AlexandrSurkov/PKStudio

Private Properties

프로퍼티 타입 설명
GetSelectionStyle int
SendMessage System.IntPtr
SetSelectionStyle void

공개 메소드들

메소드 설명
GetSelectionLink ( ) : int

Get the link style for the current selection

InsertLink ( string text ) : void

Insert a given text as a link into the RichTextBox at the current insert position.

InsertLink ( string text, int position ) : void

Insert a given text at a given position as a link.

InsertLink ( string text, string hyperlink ) : void

Insert a given text at at the current input position as a link. The link text is followed by a hash (#) and the given hyperlink text, both of them invisible. When clicked on, the whole link text and hyperlink string are given in the LinkClickedEventArgs.

InsertLink ( string text, string hyperlink, int position ) : void

Insert a given text at a given position as a link. The link text is followed by a hash (#) and the given hyperlink text, both of them invisible. When clicked on, the whole link text and hyperlink string are given in the LinkClickedEventArgs.

RichTextBoxEx ( ) : System
SetSelectionLink ( bool link ) : void

Set the current selection's link style

비공개 메소드들

메소드 설명
GetSelectionStyle ( UInt32 mask, UInt32 effect ) : int
SendMessage ( IntPtr hWnd, int msg, IntPtr wParam, IntPtr lParam ) : IntPtr
SetSelectionStyle ( UInt32 mask, UInt32 effect ) : void

메소드 상세

GetSelectionLink() 공개 메소드

Get the link style for the current selection
public GetSelectionLink ( ) : int
리턴 int

InsertLink() 공개 메소드

Insert a given text as a link into the RichTextBox at the current insert position.
public InsertLink ( string text ) : void
text string Text to be inserted
리턴 void

InsertLink() 공개 메소드

Insert a given text at a given position as a link.
public InsertLink ( string text, int position ) : void
text string Text to be inserted
position int Insert position
리턴 void

InsertLink() 공개 메소드

Insert a given text at at the current input position as a link. The link text is followed by a hash (#) and the given hyperlink text, both of them invisible. When clicked on, the whole link text and hyperlink string are given in the LinkClickedEventArgs.
public InsertLink ( string text, string hyperlink ) : void
text string Text to be inserted
hyperlink string Invisible hyperlink string to be inserted
리턴 void

InsertLink() 공개 메소드

Insert a given text at a given position as a link. The link text is followed by a hash (#) and the given hyperlink text, both of them invisible. When clicked on, the whole link text and hyperlink string are given in the LinkClickedEventArgs.
public InsertLink ( string text, string hyperlink, int position ) : void
text string Text to be inserted
hyperlink string Invisible hyperlink string to be inserted
position int Insert position
리턴 void

RichTextBoxEx() 공개 메소드

public RichTextBoxEx ( ) : System
리턴 System

SetSelectionLink() 공개 메소드

Set the current selection's link style
public SetSelectionLink ( bool link ) : void
link bool true: set link style, false: clear link style
리턴 void