C# 클래스 Open.Core.Common.ControlExtensions

파일 보기 프로젝트 열기: philcockfield/Open.TestHarness.SL

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
AddBlocks ( System.Windows.Controls.RichTextBox richTextBox, BlockCollection blocks ) : void

메소드 상세

AddXaml() 공개 정적인 메소드

Adds XAML content to a RichTextBox.
This method effectively handles a Section block element if specified (adding all child Blocks to the textbox).
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.
리턴 void

ApplyFlatScrollBarStyle() 공개 정적인 메소드

Applys the flat-style to the scrollbars within the given scroll-viewer.
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.
리턴 void

ScrollToTop() 공개 정적인 메소드

Scrolls to the top of a rich texbox.
public static ScrollToTop ( this richTextBox ) : void
richTextBox this The rich textbox to scroll.
리턴 void