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