Ejemplo n.º 1
0
 void TextView_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     ContentControl.Dispatcher.BeginInvoke(new Action(() =>
     {
         while (Grid.Background != null)
             MakeBackgroundTransparent();
     }), DispatcherPriority.Render);
 }
 void TextView_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     r_Control.Dispatcher.BeginInvoke(new Action(() =>
     {
         while (r_ParentGrid.Background != null)
         {
             MakeBackgroundTransparent();
         }
     }), DispatcherPriority.Render);
 }
Ejemplo n.º 3
0
 void TextView_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e) => UpdateBackground();
Ejemplo n.º 4
0
 private void OnTextViewBackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     this.RaisePropertyChanged("ContainingTextViewBackground");
 }
Ejemplo n.º 5
0
        private async void TextView_BackgroundChanged(object sender, BackgroundBrushChangedEventArgs e)
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

            MakeBackgroundTransparent();
        }
Ejemplo n.º 6
0
 private void OnTextViewBackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     this.RaisePropertyChanged("ContainingTextViewBackground");
 }
Ejemplo n.º 7
0
		void TextView_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e) => UpdateBackground();
Ejemplo n.º 8
0
 private void TextView_BackgroundChanged(object sender, BackgroundBrushChangedEventArgs e)
 => control.Dispatcher.InvokeAsync(MakeBackgroundTransparent, DispatcherPriority.Render);
Ejemplo n.º 9
0
 private void OnBackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs args)
 {
     ReloadColors();
     CommentsColorChanged?.Invoke(textView, CommentsForeground, CommentsBackground);
 }
Ejemplo n.º 10
0
 private void View_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     streakCounterAdornment.OnSizeChanged(adornmentLayer, view, streakCount, true);
 }