C# Class WpfRichText.Ex.AttachedProperties.RichTextboxAssistant

Show file Open project: nefarius/WpfRichText.Ex

Public Properties

Property Type Description
BoundDocument System.Windows.DependencyProperty

Public Methods

Method Description
GetBoundDocument ( DependencyObject dp ) : string
SetBoundDocument ( DependencyObject dp, string value ) : void

Private Methods

Method Description
AttachEventHandler ( System.Windows.Controls.RichTextBox box ) : void
HandleLostFocus ( object sender, RoutedEventArgs e ) : void
HandleTextChanged ( object sender, RoutedEventArgs e ) : void
OnBoundDocumentChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RemoveEventHandler ( System.Windows.Controls.RichTextBox box ) : void

Method Details

GetBoundDocument() public static method

public static GetBoundDocument ( DependencyObject dp ) : string
dp System.Windows.DependencyObject
return string

SetBoundDocument() public static method

public static SetBoundDocument ( DependencyObject dp, string value ) : void
dp System.Windows.DependencyObject
value string
return void

Property Details

BoundDocument public static property

public static DependencyProperty,System.Windows BoundDocument
return System.Windows.DependencyProperty