mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-22 01:16:36 +08:00
项目结构调整
This commit is contained in:
36
Others/Fluent.Ribbon/Fluent.Ribbon/IDropDownControl.cs
Normal file
36
Others/Fluent.Ribbon/Fluent.Ribbon/IDropDownControl.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user