mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-05 08:46:34 +08:00
mind 工具栏
This commit is contained in:
@@ -151,23 +151,6 @@ namespace AIStudio.Wpf.Mind.Controls
|
||||
|
||||
#endregion //ButtonStyle
|
||||
|
||||
#region DisplayColorAndName
|
||||
|
||||
public static readonly DependencyProperty DisplayColorAndNameProperty = DependencyProperty.Register("DisplayColorAndName", typeof(bool), typeof(ColorPicker), new UIPropertyMetadata(false));
|
||||
public bool DisplayColorAndName
|
||||
{
|
||||
get
|
||||
{
|
||||
return (bool)GetValue(DisplayColorAndNameProperty);
|
||||
}
|
||||
set
|
||||
{
|
||||
SetValue(DisplayColorAndNameProperty, value);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion //DisplayColorAndName
|
||||
|
||||
#region ColorMode
|
||||
|
||||
public static readonly DependencyProperty ColorModeProperty = DependencyProperty.Register("ColorMode", typeof(ColorMode), typeof(ColorPicker), new UIPropertyMetadata(ColorMode.ColorPalette));
|
||||
@@ -530,6 +513,21 @@ namespace AIStudio.Wpf.Mind.Controls
|
||||
|
||||
#endregion //UsingAlphaChannel
|
||||
|
||||
/// <summary>Identifies the <see cref="Content"/> dependency property.</summary>
|
||||
public static readonly DependencyProperty ContentProperty
|
||||
= DependencyProperty.Register(nameof(Content),
|
||||
typeof(object),
|
||||
typeof(ColorPicker));
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the content of this control.
|
||||
/// </summary>
|
||||
public object Content
|
||||
{
|
||||
get => (object)this.GetValue(ContentProperty);
|
||||
set => this.SetValue(ContentProperty, value);
|
||||
}
|
||||
|
||||
#endregion //Properties
|
||||
|
||||
#region Constructors
|
||||
|
||||
Reference in New Issue
Block a user