Ejemplo n.º 1
0
 public static IObservable <EventPattern <RequestBringIntoViewEventArgs> > RequestBringIntoViewObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <RequestBringIntoViewEventHandler, RequestBringIntoViewEventArgs>(h => This.RequestBringIntoView += h, h => This.RequestBringIntoView -= h));
 }
Ejemplo n.º 2
0
 public static IObservable <EventPattern <StylusButtonEventArgs> > PreviewStylusButtonUpObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <StylusButtonEventHandler, StylusButtonEventArgs>(h => This.PreviewStylusButtonUp += h, h => This.PreviewStylusButtonUp -= h));
 }
Ejemplo n.º 3
0
 public static IObservable <EventPattern <StylusSystemGestureEventArgs> > StylusSystemGestureObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <StylusSystemGestureEventHandler, StylusSystemGestureEventArgs>(h => This.StylusSystemGesture += h, h => This.StylusSystemGesture -= h));
 }
Ejemplo n.º 4
0
 public static IObservable <EventPattern <StylusEventArgs> > LostStylusCaptureObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.LostStylusCapture += h, h => This.LostStylusCapture -= h));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="DataGridRowsPresenterAutomationPeer"/> class.
 /// </summary>
 /// <param name="owner">Owning DataGridRowsPresenter</param>
 public DataGridRowsPresenterAutomationPeer(DataGridRowsPresenter owner)
     : base(owner)
 {
 }
Ejemplo n.º 6
0
 public static IObservable <EventPattern <StylusEventArgs> > StylusOutOfRangeObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.StylusOutOfRange += h, h => This.StylusOutOfRange -= h));
 }
Ejemplo n.º 7
0
 public static IObservable <EventPattern <DataTransferEventArgs> > SourceUpdatedObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <EventHandler <DataTransferEventArgs>, DataTransferEventArgs>(h => This.SourceUpdated += h, h => This.SourceUpdated -= h));
 }
Ejemplo n.º 8
0
 public static IObservable <EventPattern <KeyboardFocusChangedEventArgs> > LostKeyboardFocusObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <KeyboardFocusChangedEventHandler, KeyboardFocusChangedEventArgs>(h => This.LostKeyboardFocus += h, h => This.LostKeyboardFocus -= h));
 }
Ejemplo n.º 9
0
 public static IObservable <EventPattern <MouseEventArgs> > GotMouseCaptureObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <MouseEventHandler, MouseEventArgs>(h => This.GotMouseCapture += h, h => This.GotMouseCapture -= h));
 }
Ejemplo n.º 10
0
 public static IObservable <EventPattern <QueryCursorEventArgs> > QueryCursorObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <QueryCursorEventHandler, QueryCursorEventArgs>(h => This.QueryCursor += h, h => This.QueryCursor -= h));
 }
Ejemplo n.º 11
0
 public static IObservable <EventPattern <MouseEventArgs> > MouseEnterObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <MouseEventHandler, MouseEventArgs>(h => This.MouseEnter += h, h => This.MouseEnter -= h));
 }
Ejemplo n.º 12
0
 public static IObservable <EventPattern <MouseWheelEventArgs> > PreviewMouseWheelObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <MouseWheelEventHandler, MouseWheelEventArgs>(h => This.PreviewMouseWheel += h, h => This.PreviewMouseWheel -= h));
 }
Ejemplo n.º 13
0
 public static IObservable <EventPattern <MouseButtonEventArgs> > MouseRightButtonUpObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <MouseButtonEventHandler, MouseButtonEventArgs>(h => This.MouseRightButtonUp += h, h => This.MouseRightButtonUp -= h));
 }
Ejemplo n.º 14
0
 public static IObservable <EventPattern <KeyEventArgs> > PreviewKeyDownObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <KeyEventHandler, KeyEventArgs>(h => This.PreviewKeyDown += h, h => This.PreviewKeyDown -= h));
 }
Ejemplo n.º 15
0
 public static IObservable <EventPattern <StylusEventArgs> > PreviewStylusInAirMoveObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <StylusEventHandler, StylusEventArgs>(h => This.PreviewStylusInAirMove += h, h => This.PreviewStylusInAirMove -= h));
 }
Ejemplo n.º 16
0
 public static IObservable <EventPattern <KeyEventArgs> > KeyUpObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <KeyEventHandler, KeyEventArgs>(h => This.KeyUp += h, h => This.KeyUp -= h));
 }
Ejemplo n.º 17
0
 public static IObservable <EventPattern <DependencyPropertyChangedEventArgs> > DataContextChangedObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <DependencyPropertyChangedEventHandler, DependencyPropertyChangedEventArgs>(h => This.DataContextChanged += h, h => This.DataContextChanged -= h));
 }
Ejemplo n.º 18
0
 public static IObservable <EventPattern <TextCompositionEventArgs> > PreviewTextInputObserver(this DataGridRowsPresenter This)
 {
     return(Observable.FromEventPattern <TextCompositionEventHandler, TextCompositionEventArgs>(h => This.PreviewTextInput += h, h => This.PreviewTextInput -= h));
 }
Ejemplo n.º 19
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     rowsPresenter = this.GetTemplateChild("RowsPresenter") as DataGridRowsPresenter;
 }