merged pr
This commit is contained in:
1 parent
e8ecb7d6be
commit
62b1eb2473
9 files changed
+44
-40
No files matched your search
@@ -68,5 +68,17 @@ namespace HandyControl.Controls
|
||||
|
||||
public static double GetMaxContentHeight(DependencyObject element)
|
||||
=> (double) element.GetValue(MaxContentHeightProperty);
|
||||
|
||||
/// <summary>
|
||||
/// 正则表达式
|
||||
/// </summary>
|
||||
public static readonly DependencyProperty RegexPatternProperty = DependencyProperty.RegisterAttached(
|
||||
"RegexPattern", typeof(string), typeof(InfoElement), new PropertyMetadata(default(string)));
|
||||
|
||||
public static void SetRegexPattern(DependencyObject element, string value)
|
||||
=> element.SetValue(RegexPatternProperty, value);
|
||||
|
||||
public static string GetRegexPattern(DependencyObject element)
|
||||
=> (string) element.GetValue(RegexPatternProperty);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user