15 references to FlowchartSizeFeature
System.Activities.Core.Presentation (15)
System\Activities\Core\Presentation\FlowchartDesigner.ModelChangeReactions.cs (4)
95if (string.Equals(e.Key, FlowchartSizeFeature.WidthPropertyName, StringComparison.Ordinal)) 97this.FlowchartWidth = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.WidthPropertyName].GetValue(this.ModelItem); 99else if (string.Equals(e.Key, FlowchartSizeFeature.HeightPropertyName, StringComparison.Ordinal)) 101this.FlowchartHeight = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.HeightPropertyName].GetValue(this.ModelItem);
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (9)
259builder.AddCustomAttributes(type, new FeatureAttribute(typeof(FlowchartSizeFeature))); 342this.FlowchartWidth = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.WidthPropertyName].GetValue(this.ModelItem); 343this.FlowchartHeight = (double)TypeDescriptor.GetProperties(this.ModelItem)[FlowchartSizeFeature.HeightPropertyName].GetValue(this.ModelItem); 718viewState[FlowchartSizeFeature.WidthPropertyName] = e.NewRequiredSize.Width; 724viewState[FlowchartSizeFeature.HeightPropertyName] = e.NewRequiredSize.Height; 2609FlowchartSizeFeature.WidthPropertyName, 2610this.ViewStateService.RetrieveViewState(this.ModelItem, FlowchartSizeFeature.WidthPropertyName)); 2614FlowchartSizeFeature.HeightPropertyName, 2615this.ViewStateService.RetrieveViewState(this.ModelItem, FlowchartSizeFeature.HeightPropertyName));
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (2)
104TypeDescriptor.GetProperties(flowchartModelItem)[FlowchartSizeFeature.WidthPropertyName].SetValue(flowchartModelItem, flowchartDesigner.FlowchartWidth); 105TypeDescriptor.GetProperties(flowchartModelItem)[FlowchartSizeFeature.HeightPropertyName].SetValue(flowchartModelItem, flowchartDesigner.FlowchartHeight);