Files
aistudio-wpf-diagram/Others/Fluent.Ribbon/Fluent.Ribbon/IDropDownControl.cs
2023-04-16 20:11:40 +08:00

36 lines
944 B
C#

namespace Fluent
{
using System;
using System.Windows.Controls.Primitives;
/// <summary>
/// Represents control that have drop down popup
/// </summary>
public interface IDropDownControl
{
/// <summary>
/// Gets drop down popup
/// </summary>
Popup DropDownPopup { get; }
/// <summary>
/// Gets a value indicating whether control context menu is opened
/// </summary>
bool IsContextMenuOpened { get; set; }
/// <summary>
/// Gets or sets a value indicating whether drop down is opened
/// </summary>
bool IsDropDownOpen { get; set; }
/// <summary>
/// Occurs when drop down is opened.
/// </summary>
event EventHandler DropDownOpened;
/// <summary>
/// Occurs when drop down menu is closed.
/// </summary>
event EventHandler DropDownClosed;
}
}