This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Windows; | |
using System.Windows.Input; | |
using System.Windows.Interop; | |
using System.Windows.Threading; | |
namespace wpftest80; | |
public sealed class ApplicationIdle | |
{ | |
readonly DispatcherTimer _idleTimer; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Windows; | |
using System.Windows.Data; | |
using Microsoft.Xaml.Behaviors; | |
namespace wpftest80; | |
internal sealed class ServiceInfo : Behavior<DependencyObject> | |
{ | |
public ServiceInfo()=>BindingOperations.SetBinding(this, DataContextProperty, new Binding()); |