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