C# Class LinqTwit.Infrastructure.Behaviors.RichTextBoxBehavior

Afficher le fichier Open project: ArildF/linqtwit

Méthodes publiques

Свойство Type Description
BindableDocumentProperty System.Windows.DependencyProperty
PreventTextInputProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode 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

Méthode 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 méthode

public static GetBindableDocument ( System.Windows.Controls.RichTextBox obj ) : System.Windows.Documents.FlowDocument
obj System.Windows.Controls.RichTextBox
Résultat System.Windows.Documents.FlowDocument

GetPreventTextInput() public static méthode

public static GetPreventTextInput ( System.Windows.Controls.RichTextBox obj ) : bool
obj System.Windows.Controls.RichTextBox
Résultat bool

SetBindableDocument() public static méthode

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

SetPreventTextInput() public static méthode

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

Property Details

BindableDocumentProperty public_oe static_oe property

BindableDocument Dependency Property.
public static DependencyProperty,System.Windows BindableDocumentProperty
Résultat System.Windows.DependencyProperty

PreventTextInputProperty public_oe static_oe property

PreventTextInput Dependency Property.
public static DependencyProperty,System.Windows PreventTextInputProperty
Résultat System.Windows.DependencyProperty