C# Class Radegast.RRichTextBox

Inheritance: Radegast.ExtendedRichTextBox
Afficher le fichier Open project: radegastdev/radegast Class Usage Examples

Méthodes publiques

Свойство Type Description
CommentColor Color
KeyWords LSLKeyWord>.Dictionary
StringColor Color

Private Properties

Свойство Type Description
GetScrollPos Win32.POINT
GetSelectionStyle int
InitializeComponent void
ReHighlight string
RtfUnicode string
SetScrollPos void
SetSelectionStyle void
colorTag string
rtfEscaped string
ttTimerElapsed void
validWordChar bool

Méthodes publiques

Méthode Description
Copy ( ) : void
Cut ( ) : void
GetSelectionLink ( ) : int

Get the link style for the current selection

InsertImage ( Image _image ) : void
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.

Paste ( ) : void
Paste ( DataFormats format ) : void
RRichTextBox ( ) : System
RestoreState ( bool saveScrollBars ) : void
SaveState ( bool saveScrollBars ) : void
SetSelectionLink ( bool link ) : void

Set the current selection's link style

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnMouseMove ( MouseEventArgs e ) : void
OnTextChanged ( EventArgs e ) : void

Private Methods

Méthode Description
GetScrollPos ( ) : Win32.POINT

Sends a win32 message to get the scrollbars' position.

GetSelectionStyle ( UInt32 mask, UInt32 effect ) : int
InitializeComponent ( ) : void
ReHighlight ( string text ) : string
RtfUnicode ( string s ) : string
SetScrollPos ( System.Win32 point ) : void

Sends a win32 message to set scrollbars position.

SetSelectionStyle ( UInt32 mask, UInt32 effect ) : void
colorTag ( Color c, string s ) : string
rtfEscaped ( string s ) : string
ttTimerElapsed ( Object sender ) : void
validWordChar ( char c ) : bool

Method Details

Copy() public méthode

public Copy ( ) : void
Résultat void

Cut() public méthode

public Cut ( ) : void
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

GetSelectionLink() public méthode

Get the link style for the current selection
public GetSelectionLink ( ) : int
Résultat int

InsertImage() public méthode

public InsertImage ( Image _image ) : void
_image Image
Résultat void

InsertLink() public méthode

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
Résultat void

InsertLink() public méthode

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
Résultat void

InsertLink() public méthode

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
Résultat void

InsertLink() public méthode

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
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnTextChanged() protected méthode

protected OnTextChanged ( EventArgs e ) : void
e System.EventArgs
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

Paste() public méthode

public Paste ( DataFormats format ) : void
format System.Windows.Forms.DataFormats
Résultat void

RRichTextBox() public méthode

public RRichTextBox ( ) : System
Résultat System

RestoreState() public méthode

public RestoreState ( bool saveScrollBars ) : void
saveScrollBars bool
Résultat void

SaveState() public méthode

public SaveState ( bool saveScrollBars ) : void
saveScrollBars bool
Résultat void

SetSelectionLink() public méthode

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

Property Details

CommentColor public_oe property

public Color CommentColor
Résultat Color

KeyWords public_oe property

public Dictionary KeyWords
Résultat LSLKeyWord>.Dictionary

StringColor public_oe property

public Color StringColor
Résultat Color