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

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