Method | Description | |
---|---|---|
AddXaml ( this richTextBox, System.Windows.Documents.Block xaml ) : void |
Adds XAML content to a RichTextBox. This method effectively handles a Section block element if specified (adding all child Blocks to the textbox). |
|
ApplyFlatScrollBarStyle ( this scrollViewer, double size = 10, double opacity = 1 ) : void |
Applys the flat-style to the scrollbars within the given scroll-viewer.
|
|
ScrollToTop ( this richTextBox ) : void |
Scrolls to the top of a rich texbox.
|
Method | Description | |
---|---|---|
AddBlocks ( System.Windows.Controls.RichTextBox richTextBox, BlockCollection blocks ) : void |
public static AddXaml ( this richTextBox, System.Windows.Documents.Block xaml ) : void | ||
richTextBox | this | The textbox to add to. |
xaml | System.Windows.Documents.Block | The block to add. |
return | void |
public static ApplyFlatScrollBarStyle ( this scrollViewer, double size = 10, double opacity = 1 ) : void | ||
scrollViewer | this | The scroll-viewer to effect. |
size | double | The size of the scroll bars (automatically skinny). |
opacity | double | The opacity of the scrollbar. |
return | void |
public static ScrollToTop ( this richTextBox ) : void | ||
richTextBox | this | The rich textbox to scroll. |
return | void |