mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-25 02:46:38 +08:00
添加项目文件。
This commit is contained in:
34
Fluent.Ribbon/Fluent.Ribbon/IToggleButton.cs
Normal file
34
Fluent.Ribbon/Fluent.Ribbon/IToggleButton.cs
Normal file
@@ -0,0 +1,34 @@
|
||||
namespace Fluent
|
||||
{
|
||||
using System.Windows;
|
||||
|
||||
/// <summary>
|
||||
/// Interface for controls that support <see cref="ToggleButton"/>-Behavior
|
||||
/// </summary>
|
||||
public interface IToggleButton
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name of the group that the toggle button belongs to.
|
||||
/// Use the GroupName property to specify a grouping of toggle buttons to
|
||||
/// create a mutually exclusive set of controls. You can use the GroupName
|
||||
/// property when only one selection is possible from a list of available
|
||||
/// options. When this property is set, only one ToggleButton in the specified
|
||||
/// group can be selected at a time.
|
||||
/// </summary>
|
||||
string GroupName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether SplitButton is checked
|
||||
/// </summary>
|
||||
bool? IsChecked { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the ToggleButton is fully loaded
|
||||
/// </summary>
|
||||
bool IsLoaded { get; }
|
||||
|
||||
/// <summary>Gets the logical parent element of this element. </summary>
|
||||
/// <returns>This element's logical parent.</returns>
|
||||
DependencyObject Parent { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user