Property | Type | Description | |
---|---|---|---|
GetSelectionStyle | int | ||
SendMessage | |||
SetSelectionStyle | void |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
GetSelectionStyle ( |
||
SendMessage ( |
||
SetSelectionStyle ( |
public InsertLink ( string text ) : void | ||
text | string | Text to be inserted |
return | void |
public InsertLink ( string text, int position ) : void | ||
text | string | Text to be inserted |
position | int | Insert position |
return | void |
public InsertLink ( string text, string hyperlink ) : void | ||
text | string | Text to be inserted |
hyperlink | string | Invisible hyperlink string to be inserted |
return | void |
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 |
return | void |
public SetSelectionLink ( bool link ) : void | ||
link | bool | true: set link style, false: clear link style |
return | void |