Browse Source

missing file

pull/590/head
tbulle 12 years ago
parent
commit
834c9101a5
  1. 46
      src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/Extensions/ExtensionInterfaces.cs

46
src/AddIns/DisplayBindings/WpfDesign/WpfDesign/Project/Extensions/ExtensionInterfaces.cs

@ -0,0 +1,46 @@ @@ -0,0 +1,46 @@
/*
* Created by SharpDevelop.
* User: trubra
* Date: 2014-11-06
* Time: 11:45
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
using System;
using System.Windows.Input;
namespace ICSharpCode.WpfDesign.Extensions
{
/// <summary>
/// interface that can be implemented if a control is to be alerted of KeyDown Event on DesignPanel
/// </summary>
public interface IKeyDown
{
/// <summary>
/// Action to be performed on keydown on specific control
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void KeyDownAction(object sender, KeyEventArgs e);
/// <summary>
/// if that control wants the default DesignPanel action to be suppressed, let this return false
/// </summary>
bool InvokeDefaultAction { get; }
}
/// <summary>
/// interface that can be implemented if a control is to be alerted of KeyUp Event on DesignPanel
/// </summary>
public interface IKeyUp
{
/// <summary>
/// Action to be performed on keyup on specific control
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
void KeyUpAction(object sender, KeyEventArgs e);
}
}
Loading…
Cancel
Save