mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix Rider not recognizing DependencyProperty as such due to naming convention
This commit is contained in:
parent
fc32a8873f
commit
5a0f1f8a04
3 changed files with 24 additions and 24 deletions
|
|
@ -17,26 +17,26 @@ namespace Flow.Launcher.Resources.Controls
|
|||
}
|
||||
public string Title
|
||||
{
|
||||
get { return (string)GetValue(TitleValueProperty); }
|
||||
set { SetValue(TitleValueProperty, value); }
|
||||
get { return (string)GetValue(TitleProperty); }
|
||||
set { SetValue(TitleProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty TitleValueProperty =
|
||||
public static readonly DependencyProperty TitleProperty =
|
||||
DependencyProperty.Register(nameof(Title), typeof(string), typeof(Card), new PropertyMetadata(string.Empty));
|
||||
|
||||
public string Sub
|
||||
{
|
||||
get { return (string)GetValue(SubValueProperty); }
|
||||
set { SetValue(SubValueProperty, value); }
|
||||
get { return (string)GetValue(SubProperty); }
|
||||
set { SetValue(SubProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty SubValueProperty =
|
||||
public static readonly DependencyProperty SubProperty =
|
||||
DependencyProperty.Register(nameof(Sub), typeof(string), typeof(Card), new PropertyMetadata(string.Empty));
|
||||
|
||||
public string Icon
|
||||
{
|
||||
get { return (string)GetValue(IconValueProperty); }
|
||||
set { SetValue(IconValueProperty, value); }
|
||||
get { return (string)GetValue(IconProperty); }
|
||||
set { SetValue(IconProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty IconValueProperty =
|
||||
public static readonly DependencyProperty IconProperty =
|
||||
DependencyProperty.Register(nameof(Icon), typeof(string), typeof(Card), new PropertyMetadata(string.Empty));
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -11,26 +11,26 @@ namespace Flow.Launcher.Resources.Controls
|
|||
}
|
||||
public string Title
|
||||
{
|
||||
get { return (string)GetValue(TitleValueProperty); }
|
||||
set { SetValue(TitleValueProperty, value); }
|
||||
get { return (string)GetValue(TitleProperty); }
|
||||
set { SetValue(TitleProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty TitleValueProperty =
|
||||
public static readonly DependencyProperty TitleProperty =
|
||||
DependencyProperty.Register(nameof(Title), typeof(string), typeof(ExCard), new PropertyMetadata(string.Empty));
|
||||
|
||||
public string Sub
|
||||
{
|
||||
get { return (string)GetValue(SubValueProperty); }
|
||||
set { SetValue(SubValueProperty, value); }
|
||||
get { return (string)GetValue(SubProperty); }
|
||||
set { SetValue(SubProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty SubValueProperty =
|
||||
public static readonly DependencyProperty SubProperty =
|
||||
DependencyProperty.Register(nameof(Sub), typeof(string), typeof(ExCard), new PropertyMetadata(string.Empty));
|
||||
|
||||
public string Icon
|
||||
{
|
||||
get { return (string)GetValue(IconValueProperty); }
|
||||
set { SetValue(IconValueProperty, value); }
|
||||
get { return (string)GetValue(IconProperty); }
|
||||
set { SetValue(IconProperty, value); }
|
||||
}
|
||||
public static readonly DependencyProperty IconValueProperty =
|
||||
public static readonly DependencyProperty IconProperty =
|
||||
DependencyProperty.Register(nameof(Icon), typeof(string), typeof(ExCard), new PropertyMetadata(string.Empty));
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -22,21 +22,21 @@ namespace Flow.Launcher.Resources.Controls
|
|||
|
||||
public string Keys
|
||||
{
|
||||
get { return (string)GetValue(KeysValueProperty); }
|
||||
set { SetValue(KeysValueProperty, value); }
|
||||
get { return (string)GetValue(KeysProperty); }
|
||||
set { SetValue(KeysProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty KeysValueProperty =
|
||||
public static readonly DependencyProperty KeysProperty =
|
||||
DependencyProperty.Register(nameof(Keys), typeof(string), typeof(HotkeyDisplay),
|
||||
new PropertyMetadata(string.Empty, keyChanged));
|
||||
|
||||
public DisplayType Type
|
||||
{
|
||||
get { return (DisplayType)GetValue(TypeValueProperty); }
|
||||
set { SetValue(TypeValueProperty, value); }
|
||||
get { return (DisplayType)GetValue(TypeProperty); }
|
||||
set { SetValue(TypeProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TypeValueProperty =
|
||||
public static readonly DependencyProperty TypeProperty =
|
||||
DependencyProperty.Register(nameof(Type), typeof(DisplayType), typeof(HotkeyDisplay),
|
||||
new PropertyMetadata(null));
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue