41 references to AmbientTheme
System.Workflow.Activities (2)
Designers\StateDesigner.cs (2)
1376
AmbientTheme ambientTheme = e.
AmbientTheme
;
1539
AmbientTheme ambientTheme = e.
AmbientTheme
;
System.Workflow.ComponentModel (39)
AuthoringOM\Design\ActivityDesigner.cs (6)
1717
this.textSize.Width = MinimumSize.Width - 2 * e.
AmbientTheme
.Margin.Width;
1719
this.textSize.Width -= e.DesignerTheme.ImageSize.Width + e.
AmbientTheme
.Margin.Width;
1736
size.Width = 2 * e.
AmbientTheme
.Margin.Width + ((Image != null) ? (e.DesignerTheme.ImageSize.Width + e.
AmbientTheme
.Margin.Width) : 0) + this.textSize.Width;
1737
size.Height = e.
AmbientTheme
.Margin.Height + Math.Max(e.DesignerTheme.ImageSize.Height, this.textSize.Height) + e.
AmbientTheme
.Margin.Height;
AuthoringOM\Design\ActivityPreviewDesigner.cs (21)
572
this.previewStrip.Location = new Point(bounds.Left + bounds.Width / 2 - this.previewStrip.Size.Width / 2, Location.Y + TitleHeight + e.
AmbientTheme
.Margin.Height);
581
this.previewWindow.Location = new Point(bounds.Left + bounds.Width / 2 - this.previewWindow.Size.Width / 2, previewStripRectangle.Bottom + 3 * e.
AmbientTheme
.Margin.Height);
583
this.separatorLine[0].X = bounds.Left + e.
AmbientTheme
.Margin.Width;
585
this.separatorLine[0].Y += e.
AmbientTheme
.Margin.Height + e.
AmbientTheme
.Margin.Height / 2;
587
this.separatorLine[1].X = bounds.Right - e.
AmbientTheme
.Margin.Width;
589
this.separatorLine[1].Y += e.
AmbientTheme
.Margin.Height + e.
AmbientTheme
.Margin.Height / 2;
595
PreviewedDesigner.Location = new Point(Location.X + (Size.Width - PreviewedDesigner.Size.Width) / 2, Location.Y + headerHeight + 2 * e.
AmbientTheme
.Margin.Height);
615
containerSize.Height += e.
AmbientTheme
.Margin.Height;
623
containerSize.Width += 2 * e.
AmbientTheme
.Margin.Width;
625
containerSize.Height += 4 * e.
AmbientTheme
.Margin.Height;
627
containerSize.Height += e.
AmbientTheme
.Margin.Height;
632
containerSize.Width += 3 * e.
AmbientTheme
.Margin.Width;
633
containerSize.Width += 2 * e.
AmbientTheme
.SelectionSize.Width;
646
containerSize.Height -= 2 * e.
AmbientTheme
.Margin.Height;
647
containerSize.Height -= 2 * e.
AmbientTheme
.SelectionSize.Height;
650
Size margins = new Size(2 * e.
AmbientTheme
.Margin.Width + 2 * e.
AmbientTheme
.SelectionSize.Width, 2 * e.
AmbientTheme
.Margin.Height + 2 * e.
AmbientTheme
.SelectionSize.Height);
AuthoringOM\Design\ParallelActivityDesigner.cs (4)
227
width += e.
AmbientTheme
.SelectionSize.Width;
232
width += e.
AmbientTheme
.SelectionSize.Width;
252
containerSize.Width += e.
AmbientTheme
.SelectionSize.Width;
255
containerSize.Width += e.
AmbientTheme
.SelectionSize.Width;
AuthoringOM\Design\SequentialActivityDesigner.cs (2)
499
containerSize.Width += 3 * e.
AmbientTheme
.Margin.Width;
500
containerSize.Width += 2 * e.
AmbientTheme
.SelectionSize.Width;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (1)
280
size.Height += footer.ImageRectangle.Height + 2 * e.
AmbientTheme
.Margin.Height + footer.FooterBarRectangle.Size.Height;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (5)
545
location.Y += e.
AmbientTheme
.SelectionSize.Height;
567
containerSize.Width += 2 * e.
AmbientTheme
.SelectionSize.Width;
568
containerSize.Width += 3 * e.
AmbientTheme
.Margin.Width;
569
containerSize.Height += e.
AmbientTheme
.Margin.Height;
570
containerSize.Height += 2 * e.
AmbientTheme
.SelectionSize.Height;