C# Class LinqTwit.Infrastructure.Behaviors.ControlBehaviors

Datei anzeigen Open project: ArildF/linqtwit

Public Properties

Property Type Description
DragsWindowProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetDragsWindow ( System.Windows.Controls.RichTextBox obj ) : Window
SetDragsWindow ( Control control, Window value ) : void

Private Methods

Method Description
ControlBehaviors ( ) : System
DragsWindowPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Handles changes on the DragsWindowProperty dependency property. As WPF internally uses the dependency property system and bypasses the DragsWindow property wrapper, updates should be handled here.

Method Details

GetDragsWindow() public static method

public static GetDragsWindow ( System.Windows.Controls.RichTextBox obj ) : Window
obj System.Windows.Controls.RichTextBox
return System.Windows.Window

SetDragsWindow() public static method

public static SetDragsWindow ( Control control, Window value ) : void
control System.Windows.Controls.Control
value System.Windows.Window
return void

Property Details

DragsWindowProperty public_oe static_oe property

Description
public static DependencyProperty,System.Windows DragsWindowProperty
return System.Windows.DependencyProperty