Files
aistudio-wpf-diagram/AIStudio.Wpf.DiagramApp/Views/ToolBoxControl.xaml.cs

39 lines
1.1 KiB
C#
Raw Normal View History

2021-07-23 09:42:22 +08:00
using System.Windows;
using System.Windows.Controls;
2022-10-28 22:45:39 +08:00
namespace AIStudio.Wpf.DiagramApp.Views
2021-07-23 09:42:22 +08:00
{
/// <summary>
/// ToolBoxControl.xaml 的交互逻辑
/// </summary>
public partial class ToolBoxControl : UserControl
{
#region IsExpanded
/// <summary>
/// BindingWidthAndHeight Dependency Property
/// </summary>
public static readonly DependencyProperty IsExpandedProperty =
DependencyProperty.Register("IsExpanded", typeof(bool), typeof(ToolBoxControl),
new FrameworkPropertyMetadata(true));
/// <summary>
/// Gets or sets the BindingWidthAndHeight property. This dependency property
/// indicates if the ResizableItemsControl is in Composing mode.
/// </summary>
public bool IsExpanded
{
get { return (bool)GetValue(IsExpandedProperty); }
set { SetValue(IsExpandedProperty, value); }
}
#endregion
public ToolBoxControl()
{
InitializeComponent();
}
}
}