C# Class LinqTwit.Infrastructure.Behaviors.RichTextBoxBehavior

Mostrar archivo Open project: ArildF/linqtwit

Public Properties

Property Type Description
BindableDocumentProperty System.Windows.DependencyProperty
PreventTextInputProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetBindableDocument ( System.Windows.Controls.RichTextBox obj ) : System.Windows.Documents.FlowDocument
GetPreventTextInput ( System.Windows.Controls.RichTextBox obj ) : bool
SetBindableDocument ( System.Windows.Controls.RichTextBox obj, System.Windows.Documents.FlowDocument value ) : void
SetPreventTextInput ( System.Windows.Controls.RichTextBox obj, bool value ) : void

Private Methods

Method Description
BindableDocumentChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
BindingPreviewCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs e ) : void
PasteCanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs args ) : void
PreventTextInputChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RichTextBoxOnPreviewTextInput ( object sender, System.Windows.Input.TextCompositionEventArgs args ) : void

Method Details

GetBindableDocument() public static method

public static GetBindableDocument ( System.Windows.Controls.RichTextBox obj ) : System.Windows.Documents.FlowDocument
obj System.Windows.Controls.RichTextBox
return System.Windows.Documents.FlowDocument

GetPreventTextInput() public static method

public static GetPreventTextInput ( System.Windows.Controls.RichTextBox obj ) : bool
obj System.Windows.Controls.RichTextBox
return bool

SetBindableDocument() public static method

public static SetBindableDocument ( System.Windows.Controls.RichTextBox obj, System.Windows.Documents.FlowDocument value ) : void
obj System.Windows.Controls.RichTextBox
value System.Windows.Documents.FlowDocument
return void

SetPreventTextInput() public static method

public static SetPreventTextInput ( System.Windows.Controls.RichTextBox obj, bool value ) : void
obj System.Windows.Controls.RichTextBox
value bool
return void

Property Details

BindableDocumentProperty public_oe static_oe property

BindableDocument Dependency Property.
public static DependencyProperty,System.Windows BindableDocumentProperty
return System.Windows.DependencyProperty

PreventTextInputProperty public_oe static_oe property

PreventTextInput Dependency Property.
public static DependencyProperty,System.Windows PreventTextInputProperty
return System.Windows.DependencyProperty