public override void ConfigureFramework(FrameworkConfiguration config)
        {
            if (!(config is MouseConfiguration)) throw new ArgumentException("Config must be MouseConfiguration");
            mouseConfig = config as MouseConfiguration;

            base.ConfigureFramework(config);
        }
Beispiel #2
0
 internal static FrameworkConfiguration GetMouseConfig(FrameworkElement uiParent)
 {
     var conf = new MouseConfiguration
     {
         Owner = uiParent,
         UIManagedThreadId = Thread.CurrentThread.ManagedThreadId,
         EventWindow = uiParent
     };
     return conf;
 }
Beispiel #3
0
        public override void ConfigureFramework(FrameworkConfiguration config)
        {
            if (!(config is MouseConfiguration))
            {
                throw new ArgumentException("Config must be MouseConfiguration");
            }
            mouseConfig = config as MouseConfiguration;

            base.ConfigureFramework(config);
        }