TinyChat A user control that provides a chat interface with message display and text input functionality. Occurs when a message is sent from the text box and allows the cancellation of sending. Occurs when a message has been sent from the user interface. Gets the control that manages and displays the chat message history. The control responsible for displaying chat messages, or if not initialized. Gets the control that displays the welcome message when no chat messages are present. The welcome message control, or if not initialized. Gets the control that provides the chat input interface for sending messages. The input control for entering and sending chat messages, or if not initialized. Gets the split container control that divides the chat history panel from the input panel. The split container control managing the layout of history and input areas, or if not initialized. Initializes a new instance of the class. Gets or sets the message history displayed in the chat control. Gets or sets the welcome message displayed when no messages are present in the chat history. Gets or sets the splitter position dividing the chat message history from the chat input box below. Gets or sets the sender for messages sent from this chat control. Gets or sets the formatter that converts message content into displayable strings. Updates the visibility of the welcome control based on the current message history. Determines whether the welcome control should be displayed based on the current message history. Creates the message formatter that is used to display chat messages contents in the chat user interface Adds a chat message to the message history control. The sender of the message. The content of the message. Adds a chat message with with support of streaming input, like when an AI assistant is streaming tokens The sender of the streaming message. The stream of the tokens. An optional callback that can be used to process the streamed messages after it was received completely. An optional callback that can be used to process exceptions that occured during the processing of the stream. An optional synchronization context. Only required if the applications does not provide a default synchronization context. The token to cancel the operation with. Removes a given message from the chat Raises the event and initializes the chat control layout. Adds the messages to the controls Appends a chat message to the message container. The chat message to append. Creates the container control that will hold all chat messages. A that serves as the messages container. Applies layout settings to the messages container control. The control to layout. Creates the container control that will hold all chat messages. A that serves as the messages container. Applies layout settings to the messages container control. The control to layout. Creates a message control for displaying a specific chat message. The chat message to create a control for. An instance for the message. Applies layout settings to a chat message control and adds it to the container. The container to add the message control to. The chat message control to layout and add. Creates the split container control that holds the message history and input controls. Applies layout settings to the split container control. Creates the text input control for sending new messages. An instance for message input. Applies layout settings to the text input control. The text box control to layout. Sends a message from the current sender with the specified text content. The text content of the message to send. if the message was sent successfully; if the message sending was cancelled. This method creates a wrapper around the provided text and uses the control's default property for the message sender. The message sending can be cancelled by handling the event and setting the MessageSendingEventArgs.Cancel property to . Sends a message from the specified sender with the given content. The sender of the message. The content of the message to send. if the message was sent successfully; if the message sending was cancelled. This method allows specifying both the sender and content of the message explicitly. The message sending can be cancelled by handling the event and setting the MessageSendingEventArgs.Cancel property to . Sends a message using the provided event arguments, handling the complete message sending workflow. The event arguments containing the sender, content, and cancellation state. This method orchestrates the complete message sending process: Determines the effective sender (uses .Sender if provided, otherwise falls back to the control's ) Raises the event to allow subscribers to inspect or cancel the operation If not cancelled, adds the message to the chat history and displays it Raises the event to notify subscribers that the message was successfully sent The message sending can be cancelled by setting the MessageSendingEventArgs.Cancel property to in the event handler. Creates a new chat message instance. The sender of the message. The content of the message. A new instance. Creates a new chat message and adds it to the message history. The sender of the message. The content of the message. A new instance. Required designer variable. Clean up any resources being used. true if managed resources should be disposed; otherwise, false. Required method for Designer support - do not modify the contents of this method with the code editor. Provides data and cancellation support for the event before a message gets sent. Initializes a new instance of the class. The sender of the message. The message content being sent. Provides data and cancellation support for the event before a message gets sent. Initializes a new instance of the class. The sender of the message. The message content being sent. Gets the message content being sent. Gets the sender of the message. Provides data for the event when a message was sent Initializes a new instance of the class. The sender of the message. The message content being sent. Provides data for the event when a message was sent Initializes a new instance of the class. The sender of the message. The message content being sent. Gets the message content being sent. Gets the sender of the message. A string builder decorator that notifies with INotifyPropertyChanged when its content changes. Occurs when the string builder content changes. Gets the length of the current StringBuilder. Gets or sets the capacity of the StringBuilder. Gets or sets the character at the specified index. Appends a string to the StringBuilder. Appends a character to the StringBuilder. Appends an object's string representation to the StringBuilder. Appends a line to the StringBuilder. Appends a line with the specified string to the StringBuilder. Inserts a string at the specified index. Removes characters from the StringBuilder. Clears the StringBuilder. Returns the string representation of the StringBuilder. Raises the PropertyChanged event. Represents text-based message content. Occures when the value of the message content gets changed. Initializes a new instance of the class. The string value of the message content. Represents a chat message with a sender and content. The sender of the message. The content of the message. Represents a chat message with a sender and content. The sender of the message. The content of the message. The sender of the message. The content of the message. Interface to format chat message content into a displayable string format. Renders a given chat message content to a display string The chat messag content to format Renders a given string content to a display string The string content to format Renders message content as plain text by stripping common formatting like Markdown and HTML. Pattern:
<[^>]*>
Options:
RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
Pattern:
!\\[([^\\]]*)\\]\\([^\\)]+\\)
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "![".
○ 1st capture group.
○ Match a character other than ']' atomically any number of times.
○ Match the string "](".
○ Match a character other than ')' atomically at least once.
○ Match ')'.
Pattern:
\\[([^\\]]+)\\]\\([^\\)]+\\)
Options:
RegexOptions.Compiled
Explanation:
○ Match '['.
○ 1st capture group.
○ Match a character other than ']' atomically at least once.
○ Match the string "](".
○ Match a character other than ')' atomically at least once.
○ Match ')'.
Pattern:
^#{1,6}\\s+
Options:
RegexOptions.Multiline | RegexOptions.Compiled
Explanation:
○ Match if at the beginning of a line.
○ Match '#' atomically at least 1 and at most 6 times.
○ Match a whitespace character atomically at least once.
Pattern:
(\\*\\*|__)(.*?)\\1
Options:
RegexOptions.Compiled
Explanation:
○ 1st capture group.
○ Match with 2 alternative expressions.
○ Match the string "**".
○ Match the string "__".
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the same text as matched by the 1st capture group.
Pattern:
(\\*|_)(.*?)\\1
Options:
RegexOptions.Compiled
Explanation:
○ 1st capture group.
○ Match a character in the set [*_].
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the same text as matched by the 1st capture group.
Pattern:
~~(.*?)~~
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "~~".
○ 1st capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the string "~~".
Pattern:
`([^`]*)`
Options:
RegexOptions.Compiled
Explanation:
○ Match '`'.
○ 1st capture group.
○ Match a character other than '`' atomically any number of times.
○ Match '`'.
Pattern:
```(?:\\w+)?(?:\\s*\\n)?([\\s\\S]*?)```
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "```".
○ Match a word character greedily any number of times.
○ Optional (greedy).
○ Match a whitespace character greedily any number of times.
○ Match '\n'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "```".
Pattern:
<ul[^>]*>(.*?)</ul>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Uu].
○ Match a character in the set [Ll].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Uu].
○ Match a character in the set [Ll].
○ Match '>'.
Pattern:
<ol[^>]*>(.*?)</ol>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match '>'.
Pattern:
<li[^>]*>(.*?)</li>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Ll].
○ Match a character in the set [Ii].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Ll].
○ Match a character in the set [Ii].
○ Match '>'.
Renders the message content as plain text by removing formatting. The message content to format. Plain text representation of the content. Renders the message content as plain text by removing formatting. The message content to format. Plain text representation of the content. Renders message content as simplified HTML, supporting only specified HTML tags. Markdown is converted to HTML where supported, otherwise stripped to plain text. Initializes a new instance of the class. Array of supported HTML tag names (e.g., "b", "i", "a", "ul"). Case-insensitive. Renders message content as simplified HTML, supporting only specified HTML tags. Markdown is converted to HTML where supported, otherwise stripped to plain text. Initializes a new instance of the class. Array of supported HTML tag names (e.g., "b", "i", "a", "ul"). Case-insensitive. Pattern:
<([a-z][a-z0-9]*)\\b[^>]*>(.*?)</\\1>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ 1st capture group.
○ Match a character in the set [A-Za-z\u212A].
○ Match a character in the set [0-9A-Za-z\u212A] greedily any number of times.
○ Match if at a word boundary.
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 2nd capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match the same text as matched by the 1st capture group.
○ Match '>'.
Pattern:
<([a-z][a-z0-9]*)\\b[^>]*/>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ 1st capture group.
○ Match a character in the set [A-Za-z\u212A].
○ Match a character in the set [0-9A-Za-z\u212A] greedily any number of times.
○ Match if at a word boundary.
○ Match a character other than '>' greedily any number of times.
○ Match the string "/>".
Pattern:
<!--[\\s\\S]*?-->
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "<!--".
○ Match any character lazily any number of times.
○ Match the string "-->".
Pattern:
!\\[([^\\]]*)\\]\\(([^\\)]+)\\)
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "![".
○ 1st capture group.
○ Match a character other than ']' atomically any number of times.
○ Match the string "](".
○ 2nd capture group.
○ Match a character other than ')' atomically at least once.
○ Match ')'.
Pattern:
\\[([^\\]]+)\\]\\(([^\\)]+)\\)
Options:
RegexOptions.Compiled
Explanation:
○ Match '['.
○ 1st capture group.
○ Match a character other than ']' atomically at least once.
○ Match the string "](".
○ 2nd capture group.
○ Match a character other than ')' atomically at least once.
○ Match ')'.
Pattern:
^(#{1,6})\\s+(.+)$
Options:
RegexOptions.Multiline | RegexOptions.Compiled
Explanation:
○ Match if at the beginning of a line.
○ 1st capture group.
○ Match '#' atomically at least 1 and at most 6 times.
○ Match a whitespace character greedily at least once.
○ 2nd capture group.
○ Match a character other than '\n' greedily at least once.
○ Match if at the end of a line.
Pattern:
(\\*\\*\\*|___)(.*?)\\1
Options:
RegexOptions.Compiled
Explanation:
○ 1st capture group.
○ Match with 2 alternative expressions.
○ Match the string "***".
○ Match the string "___".
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the same text as matched by the 1st capture group.
Pattern:
(\\*\\*|__)(.*?)\\1
Options:
RegexOptions.Compiled
Explanation:
○ 1st capture group.
○ Match with 2 alternative expressions.
○ Match the string "**".
○ Match the string "__".
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the same text as matched by the 1st capture group.
Pattern:
(\\*|_)(.*?)\\1
Options:
RegexOptions.Compiled
Explanation:
○ 1st capture group.
○ Match a character in the set [*_].
○ 2nd capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the same text as matched by the 1st capture group.
Pattern:
~~(.*?)~~
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "~~".
○ 1st capture group.
○ Match a character other than '\n' lazily any number of times.
○ Match the string "~~".
Pattern:
`([^`]*)`
Options:
RegexOptions.Compiled
Explanation:
○ Match '`'.
○ 1st capture group.
○ Match a character other than '`' atomically any number of times.
○ Match '`'.
Pattern:
```(?:\\w+)?(?:\\s*\\n)?([\\s\\S]*?)```
Options:
RegexOptions.Compiled
Explanation:
○ Match the string "```".
○ Match a word character greedily any number of times.
○ Optional (greedy).
○ Match a whitespace character greedily any number of times.
○ Match '\n'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "```".
Pattern:
^[-*+]\\s+(.+)$
Options:
RegexOptions.Multiline | RegexOptions.Compiled
Explanation:
○ Match if at the beginning of a line.
○ Match a character in the set [*+-].
○ Match a whitespace character greedily at least once.
○ 1st capture group.
○ Match a character other than '\n' greedily at least once.
○ Match if at the end of a line.
Pattern:
^\\d+\\.\\s+(.+)$
Options:
RegexOptions.Multiline | RegexOptions.Compiled
Explanation:
○ Match if at the beginning of a line.
○ Match a Unicode digit atomically at least once.
○ Match '.'.
○ Match a whitespace character greedily at least once.
○ 1st capture group.
○ Match a character other than '\n' greedily at least once.
○ Match if at the end of a line.
Pattern:
^>\\s+(.+)$
Options:
RegexOptions.Multiline | RegexOptions.Compiled
Explanation:
○ Match if at the beginning of a line.
○ Match '>'.
○ Match a whitespace character greedily at least once.
○ 1st capture group.
○ Match a character other than '\n' greedily at least once.
○ Match if at the end of a line.
Pattern:
<ul[^>]*>(.*?)</ul>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Uu].
○ Match a character in the set [Ll].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Uu].
○ Match a character in the set [Ll].
○ Match '>'.
Pattern:
<ol[^>]*>(.*?)</ol>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match '>'.
Pattern:
<li[^>]*>(.*?)</li>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled | RegexOptions.Singleline
Explanation:
○ Match '<'.
○ Match a character in the set [Ll].
○ Match a character in the set [Ii].
○ Match a character other than '>' atomically any number of times.
○ Match '>'.
○ 1st capture group.
○ Match any character lazily any number of times.
○ Match the string "</".
○ Match a character in the set [Ll].
○ Match a character in the set [Ii].
○ Match '>'.
Pattern:
<span\\s+style=['"]color:\\s*([^'"]+)['"]>([^<]+)</span>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Ss].
○ Match a character in the set [Pp].
○ Match a character in the set [Aa].
○ Match a character in the set [Nn].
○ Match a whitespace character atomically at least once.
○ Match a character in the set [Ss].
○ Match a character in the set [Tt].
○ Match a character in the set [Yy].
○ Match a character in the set [Ll].
○ Match a character in the set [Ee].
○ Match '='.
○ Match a character in the set ["'].
○ Match a character in the set [Cc].
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character in the set [Oo].
○ Match a character in the set [Rr].
○ Match ':'.
○ Match a whitespace character greedily any number of times.
○ 1st capture group.
○ Match a character in the set [^"'] atomically at least once.
○ Match a character in the set ["'].
○ Match '>'.
○ 2nd capture group.
○ Match a character other than '<' atomically at least once.
○ Match the string "</".
○ Match a character in the set [Ss].
○ Match a character in the set [Pp].
○ Match a character in the set [Aa].
○ Match a character in the set [Nn].
○ Match '>'.
Pattern:
<span\\s+style=['"]background-color:\\s*([^'"]+)['"]>([^<]+)</span>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Ss].
○ Match a character in the set [Pp].
○ Match a character in the set [Aa].
○ Match a character in the set [Nn].
○ Match a whitespace character atomically at least once.
○ Match a character in the set [Ss].
○ Match a character in the set [Tt].
○ Match a character in the set [Yy].
○ Match a character in the set [Ll].
○ Match a character in the set [Ee].
○ Match '='.
○ Match a character in the set ["'].
○ Match a character in the set [Bb].
○ Match a character in the set [Aa].
○ Match a character in the set [Cc].
○ Match a character in the set [Kk\u212A].
○ Match a character in the set [Gg].
○ Match a character in the set [Rr].
○ Match a character in the set [Oo].
○ Match a character in the set [Uu].
○ Match a character in the set [Nn].
○ Match a character in the set [Dd].
○ Match '-'.
○ Match a character in the set [Cc].
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character in the set [Oo].
○ Match a character in the set [Rr].
○ Match ':'.
○ Match a whitespace character greedily any number of times.
○ 1st capture group.
○ Match a character in the set [^"'] atomically at least once.
○ Match a character in the set ["'].
○ Match '>'.
○ 2nd capture group.
○ Match a character other than '<' atomically at least once.
○ Match the string "</".
○ Match a character in the set [Ss].
○ Match a character in the set [Pp].
○ Match a character in the set [Aa].
○ Match a character in the set [Nn].
○ Match '>'.
Pattern:
href=['"]([^'"]+)['"]
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match a character in the set [Hh].
○ Match a character in the set [Rr].
○ Match a character in the set [Ee].
○ Match a character in the set [Ff].
○ Match '='.
○ Match a character in the set ["'].
○ 1st capture group.
○ Match a character in the set [^"'] atomically at least once.
○ Match a character in the set ["'].
Pattern:
src=['"]([^'"]+)['"]
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match a character in the set [Ss].
○ Match a character in the set [Rr].
○ Match a character in the set [Cc].
○ Match '='.
○ Match a character in the set ["'].
○ 1st capture group.
○ Match a character in the set [^"'] atomically at least once.
○ Match a character in the set ["'].
Pattern:
alt=['"]([^'"]*)['"]
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match a character in the set [Aa].
○ Match a character in the set [Ll].
○ Match a character in the set [Tt].
○ Match '='.
○ Match a character in the set ["'].
○ 1st capture group.
○ Match a character in the set [^"'] atomically any number of times.
○ Match a character in the set ["'].
Pattern:
<font="([^"]+)">
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Ff].
○ Match a character in the set [Oo].
○ Match a character in the set [Nn].
○ Match a character in the set [Tt].
○ Match the string "=\"".
○ 1st capture group.
○ Match a character other than '"' atomically at least once.
○ Match the string "\">".
Pattern:
face=['"]([^'"]+)['"]
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match a character in the set [Ff].
○ Match a character in the set [Aa].
○ Match a character in the set [Cc].
○ Match a character in the set [Ee].
○ Match '='.
○ Match a character in the set ["'].
○ 1st capture group.
○ Match a character in the set [^"'] atomically at least once.
○ Match a character in the set ["'].
Pattern:
<size=([+-]?\\d+)>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Ss].
○ Match a character in the set [Ii].
○ Match a character in the set [Zz].
○ Match a character in the set [Ee].
○ Match '='.
○ 1st capture group.
○ Match a character in the set [+-] atomically, optionally.
○ Match a Unicode digit atomically at least once.
○ Match '>'.
Pattern:
<color=([^>]+)>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Cc].
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character in the set [Oo].
○ Match a character in the set [Rr].
○ Match '='.
○ 1st capture group.
○ Match a character other than '>' atomically at least once.
○ Match '>'.
Pattern:
<backcolor=([^>]+)>
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match '<'.
○ Match a character in the set [Bb].
○ Match a character in the set [Aa].
○ Match a character in the set [Cc].
○ Match a character in the set [Kk\u212A].
○ Match a character in the set [Cc].
○ Match a character in the set [Oo].
○ Match a character in the set [Ll].
○ Match a character in the set [Oo].
○ Match a character in the set [Rr].
○ Match '='.
○ 1st capture group.
○ Match a character other than '>' atomically at least once.
○ Match '>'.
Pattern:
rgba?\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)(?:\\s*,\\s*(\\d+(?:\\.\\d+)?))?\\s*\\)
Options:
RegexOptions.IgnoreCase | RegexOptions.Compiled
Explanation:
○ Match a character in the set [Rr].
○ Match a character in the set [Gg].
○ Match a character in the set [Bb].
○ Match a character in the set [Aa] atomically, optionally.
○ Match a whitespace character atomically any number of times.
○ Match '('.
○ Match a whitespace character atomically any number of times.
○ 1st capture group.
○ Match a Unicode digit atomically at least once.
○ Match a whitespace character atomically any number of times.
○ Match ','.
○ Match a whitespace character atomically any number of times.
○ 2nd capture group.
○ Match a Unicode digit atomically at least once.
○ Match a whitespace character atomically any number of times.
○ Match ','.
○ Match a whitespace character atomically any number of times.
○ 3rd capture group.
○ Match a Unicode digit greedily at least once.
○ Optional (greedy).
○ Match a whitespace character atomically any number of times.
○ Match ','.
○ Match a whitespace character atomically any number of times.
○ 4th capture group.
○ Match a Unicode digit greedily at least once.
○ Optional (greedy).
○ Match '.'.
○ Match a Unicode digit greedily at least once.
○ Match a whitespace character atomically any number of times.
○ Match ')'.
Default monospace font family for code blocks and inline code. Renders the message content as simplified HTML. The message content to format. HTML representation of the content with only supported tags. Renders the message content as simplified HTML. The message content to format. HTML representation of the content with only supported tags. Represents a chat message with a sender and content. Gets the sender of the message. Gets the content of the message. Represents the content of a chat message. Gets the content of the message. Represents a sender of chat messages. Gets the name of the sender. Represents a sender identified by their name. The name of the sender. Represents a sender identified by their name. The name of the sender. The name of the sender. Represents text-based message content. Occurs then the value of the message content changes. Initializes a new instance of the class. The string value of the message content. A text input control that allows users to type and send chat messages. Occurs before a message is sent from the text box. The event that is raised when cancellation of a streaming message is requested. Initializes a new instance of the class. Handles the KeyPress event of the internal text box to send messages on Enter key. The source of the event. A that contains the event data. A panel control that displays a chat message with sender name and content. The event that is raised when the size of the control is updated while streaming a message. Gets or sets the formatter that converts message content into displayable strings. Initializes a new instance of the class. Gets or sets the chat message displayed by this control. When set, the control updates to display the sender's name and message content. If the message is null, both the sender and content labels will display empty strings. The instance to display, or null to clear the display. A specialized split container control designed for chat applications with a horizontal layout. The top panel is typically used for chat history and the bottom panel for input controls. Initializes a new instance of the class. Sets up horizontal orientation with the bottom panel (Panel2) as the fixed panel. Gets the top panel of the split container, typically used for displaying chat history. Gets the bottom panel of the split container, typically used for chat input controls. Gets or sets the splitter position measured from the bottom of the container. This property provides an alternative to by measuring from the bottom instead of the top, making it easier to work with fixed bottom panels. The distance in pixels from the bottom of the container to the splitter. A flow layout panel control that manages and displays chat message history with automatic scrolling and width management. Gets the maximum vertical scroll value that indicates the bottom of the scrollable area. Initializes a new instance of the class with top-down flow direction, auto-scroll enabled, and content wrapping disabled. Appends a chat message control to the history and automatically scrolls to show the new message. The chat message control to append to the history. Clears all message controls from the chat history. Removes the message control associated with the specified chat message from the history. The chat message whose control should be removed. Handles the client size changed event by updating the maximum width of all child controls to prevent horizontal scrollbars from appearing. The event arguments containing information about the size change. Sets the maximum width of a control to prevent horizontal scrollbars by accounting for the vertical scrollbar width when present. The control whose maximum width should be adjusted. Represents a text input control for sending chat messages. The event that is raised when cancellation of a streaming message is requested. Occurs when a message is sent from the text box and allows the cancellation of sending. Sets whether the control is receiving a stream or not The flag specifying whether a stream is being received or not The flag specifying whether the stream can be cancelled or not Represents a control that can display a chat message. The event that is raised when the size of the control is updated while streaming a message. Gets or sets the chat message displayed by this control. Sets whether the control is receiving a stream or not The flag specifying whether a stream is being received or not Provides functionality for managing chat message history controls. Appends a chat message control to the history. The chat message control to append. Clears all message controls from the history. Removes a message control by a given message The message to remove the control for Defines the contract for a split container control that manages chat history and input panels. Gets the control that displays the chat history. The control containing the chat history display, or if not available. Gets the control that contains the chat input interface. The control containing the chat input interface, or if not available. Gets or sets the position of the splitter between the history and input panels. The position of the splitter in pixels from the top or left edge, depending on the split orientation. Custom -derived type for the HtmlTagsRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownImagesRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownLinksRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownHeadersRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownBoldRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownItalicRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownStrikethroughRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownInlineCodeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownCodeBlockRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlUnorderedListRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlOrderedListRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlListItemRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Caches a instance for the HtmlTagsRegex method. A custom Regex-derived type could not be generated because the expression contains case-insensitive backreferences which are not supported by the source generator. Cached, thread-safe singleton instance. Custom -derived type for the SelfClosingHtmlTagsRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlCommentsRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownImagesRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownLinksRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownHeadersRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownBoldItalicRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownUnorderedListRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownOrderedListRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the MarkdownBlockquoteRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlColorSpanRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HtmlBackColorSpanRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the HrefAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the SrcAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the AltAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the FontDevExpressFormatRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the FontFaceAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the SizeAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the ColorAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the BackColorAttributeRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Custom -derived type for the RgbColorRegex method. Cached, thread-safe singleton instance. Initializes the instance. Provides a factory for creating instances to be used by methods on . Creates an instance of a used by methods on . Provides the runner that contains the custom logic implementing the specified regular expression. Scan the starting from base.runtextstart for the next match. The text being scanned by the regular expression. Search starting from base.runtextpos for the next location a match could possibly start. The text being scanned by the regular expression. true if a possible match was found; false if no more matches are possible. Determine whether at base.runtextpos is a match for the regular expression. The text being scanned by the regular expression. true if the regular expression matches at the current position; otherwise, false. Helper methods used by generated -derived implementations. Default timeout value set in , or if none was set. Whether is non-infinite. Finds the next index of any character that matches a Unicode digit. Determines whether the specified index is a boundary. Determines whether the character is part of the [\w] set. Pops 2 values from the backtracking stack. Pushes 1 value onto the backtracking stack. Pushes 2 values onto the backtracking stack. Pushes 3 values onto the backtracking stack. Supports searching for characters in or not in "\0\u0001\u0002\u0003\u0004\u0005\u0006\a\b\t\n\v\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\u007f".