void mainFlowDesigner_DesignerItemClick(object sender, EventArgs e) { StepProperty stepProperty = new StepProperty(); stepProperty.DesignerItem = ((RoutedEventArgs)e).OriginalSource as DesignerItem; stepProperty.Configuration = GetStepConfiguration(stepProperty.DesignerItem.ID, stepProperty.DesignerItem.ModuleDescription, this.Package); propertiesRow.Height = new GridLength(100, GridUnitType.Star); this.PropertiesContentControl.Content = new PropertiesControl(stepProperty); this.propertiesSplitter.Visibility = System.Windows.Visibility.Visible; }
set => SetValue(StepProperty, value);
public PropertiesControl(StepProperty stepProperty) { InitializeComponent(); this.DataContext = stepProperty; }
get => (decimal)GetValue(StepProperty); set => SetValue(StepProperty, value);