mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-03 23:56:37 +08:00
36 lines
944 B
C#
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;
|
|
}
|
|
} |