2008-03-03 15:21:15 +00:00

31 lines
807 B
C#

using System;
namespace AT.STO.UI.Win
{
/// <summary>
/// Standard interface that has to be implemented by control's that
/// should be diplayed in the dropdown area of the DropDownPanel.
/// </summary>
public interface IDropDownAware
{
#region Event Declarations
/// <summary>
/// Fired either on OK, Cancel or a click outside the control to indicate
/// that the user has finished editing.
/// </summary>
event DropDownValueChangedEventHandler FinishEditing;
/// <summary>
/// Fired on any change of the controls's value during the editing process.
/// </summary>
event DropDownValueChangedEventHandler ValueChanged;
#endregion
#region Public Properties
/// <summary>
/// Gets or sets the controls' value.
/// </summary>
object Value { get; set; }
#endregion
}
}