Beispiel #1
0
        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;
        }
Beispiel #2
0
 set => SetValue(StepProperty, value);
 public PropertiesControl(StepProperty stepProperty)
 {
     InitializeComponent();
     this.DataContext = stepProperty;
 }
 get => (decimal)GetValue(StepProperty); set => SetValue(StepProperty, value);