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);
 }
Example #3
0
 void TextView_BackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e) => UpdateBackground();
 private void OnTextViewBackgroundBrushChanged(object sender, BackgroundBrushChangedEventArgs e)
 {
     this.RaisePropertyChanged("ContainingTextViewBackground");
 }
Example #5
0
        private async void TextView_BackgroundChanged(object sender, BackgroundBrushChangedEventArgs e)
        {
            await ThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync();

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