SyntheticEditor2 - SyntheticName BindsTwoWayByDefault
This commit is contained in:
1 parent
db3417500a
commit
f1ecfb9eac
1 file changed
+5
-1
@@ -28,8 +28,12 @@ namespace mbts.ui.spark
|
||||
object create_cell(LegSpreaderParamsTuple leg_tup);
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty SyntheticNameProperty = DependencyProperty.Register("SyntheticName", typeof(string), typeof(SyntheticEditor2), new PropertyMetadata(string.Empty));
|
||||
#region SyntheticName
|
||||
public static readonly DependencyProperty SyntheticNameProperty = DependencyProperty.Register("SyntheticName", typeof(string), typeof(SyntheticEditor2),
|
||||
new FrameworkPropertyMetadata(string.Empty, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault));
|
||||
|
||||
public string SyntheticName { get => GetValue(SyntheticNameProperty) as string; set => SetValue(SyntheticNameProperty, value); }
|
||||
#endregion
|
||||
|
||||
#region LegTuples
|
||||
public static readonly DependencyProperty LegTuplesProperty = DependencyProperty.Register("LegTuples", typeof(IReadOnlyCollection<LegSpreaderParamsTuple>), typeof(SyntheticEditor2),
|
||||
|
||||
Reference in new issue
Block a user