private void SetGridView()
        {
            GridViewDef view = new GridViewDef(GridViewDef.DefaultViewName);

            view.GridColsView = new ObservableList <GridColView>();

            view.GridColsView.Add(new GridColView()
            {
                Field = ActInputValue.Fields.Param, Header = "Parameter", WidthWeight = 150
            });
            view.GridColsView.Add(new GridColView()
            {
                Field = ActInputValue.Fields.Value, Header = "Value", WidthWeight = 150
            });
            view.GridColsView.Add(new GridColView()
            {
                Field = "...", WidthWeight = 30, StyleType = GridColView.eGridColStyleType.Template, CellTemplate = (DataTemplate)this.Resources["InputValueExpressionButton"]
            });
            view.GridColsView.Add(new GridColView()
            {
                Field = ActInputValue.Fields.ValueForDriver, Header = "Value For Driver", WidthWeight = 150, BindingMode = BindingMode.OneWay
            });

            DynamicParametersGrid.SetAllColumnsDefaultView(view);
            DynamicParametersGrid.InitViewItems();

            DynamicParametersGrid.DataSourceList = mAct.DynamicElements;
        }
        private void SetGridView()
        {
            GridViewDef view = new GridViewDef(GridViewDef.DefaultViewName);

            view.GridColsView = new ObservableList <GridColView>();
            view.GridColsView.Add(new GridColView()
            {
                Field = nameof(ActInputValue.Param), Header = "Path", WidthWeight = 150
            });
            view.GridColsView.Add(new GridColView()
            {
                Field = nameof(ActInputValue.Value), Header = "Attribute", WidthWeight = 150
            });
            DynamicParametersGrid.SetAllColumnsDefaultView(view);
            DynamicParametersGrid.InitViewItems();
            DynamicParametersGrid.DataSourceList = mAct.DynamicElements;
        }