3 instantiations of WorkflowTheme
System.Workflow.ComponentModel (3)
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (1)
75this.bufferedTheme = new WorkflowTheme();
AuthoringOM\Design\Themes.cs (2)
411theme = new WorkflowTheme(); 416theme = new WorkflowTheme();
253 references to WorkflowTheme
System.Workflow.Activities (33)
Designers\CAGDesigner.cs (1)
58public ConditionedActivityGroupDesignerTheme(WorkflowTheme theme)
Designers\CodeDesigner.cs (1)
24public CodeDesignerTheme(WorkflowTheme theme)
Designers\ConditionalDesigner.cs (1)
140public IfElseDesignerTheme(WorkflowTheme theme)
Designers\ConditionedDesigner.cs (1)
37public ConditionedDesignerTheme(WorkflowTheme theme)
Designers\DelayDesigner.cs (1)
24public DelayDesignerTheme(WorkflowTheme theme)
Designers\EventDrivenDesigner.cs (1)
57public EventDrivenDesignerTheme(WorkflowTheme theme)
Designers\EventHandlersDesigner.cs (1)
98public EventHandlersDesignerTheme(WorkflowTheme theme)
Designers\EventSinkActivityDesigner.cs (1)
95public EventSinkDesignerTheme(WorkflowTheme theme)
Designers\InvokeMethodActivityDesigner.cs (1)
94public InvokeMethodDesignerTheme(WorkflowTheme theme)
Designers\InvokeWebServiceDesigner.cs (1)
183public InvokeWebServiceDesignerTheme(WorkflowTheme theme)
Designers\ListenDesigner.cs (1)
97public ListenDesignerTheme(WorkflowTheme theme)
Designers\ParallelDesigner.cs (1)
67public ParallelDesignerTheme(WorkflowTheme theme)
Designers\PolicyDesigner.cs (1)
91public PolicyDesignerTheme(WorkflowTheme theme)
Designers\SequenceDesigner.cs (1)
25public SequenceDesignerTheme(WorkflowTheme theme)
Designers\ServiceDesigner.cs (1)
99public SequentialWorkflowDesignerTheme(WorkflowTheme theme)
Designers\SetStateDesigner.cs (4)
44Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 55Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 89Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 207public SetStateDesignerTheme(WorkflowTheme theme)
Designers\StateDesigner.cs (2)
2580public StateMachineTheme(WorkflowTheme theme) 2791public StateDesignerTheme(WorkflowTheme theme)
Designers\StateDesigner.Layouts.cs (2)
981Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 1040Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin;
Designers\StateDesignerConnector.cs (2)
146using (Pen lineEditPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1)) 177using (Pen lineSelectionPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1))
Designers\StateFinalizationDesigner.cs (1)
64public StateFinalizationDesignerTheme(WorkflowTheme theme)
Designers\StateInitializationDesigner.cs (1)
64public StateInitializationDesignerTheme(WorkflowTheme theme)
Designers\StateMachineWorkflowDesigner.cs (1)
126public StateMachineWorkflowDesignerTheme(WorkflowTheme theme)
Designers\WebServiceFaultDesigner.cs (1)
42public WebServiceFaultDesignerTheme(WorkflowTheme theme)
Designers\WebServiceReceiveDesigner.cs (1)
81public WebServiceDesignerTheme(WorkflowTheme theme)
Designers\WebServiceResponseDesigner.cs (1)
55public WebServiceResponseDesignerTheme(WorkflowTheme theme)
Designers\WhileDesigner.cs (1)
109public WhileDesignerTheme(WorkflowTheme theme)
EventHandlingScope.cs (1)
297public EventHandlingScopeActivityDesignerTheme(WorkflowTheme theme)
System.Workflow.ComponentModel (218)
AuthoringOM\Behaviors\CancellationHandlerDesigner.cs (1)
60public CancellationDesignerTheme(WorkflowTheme theme)
AuthoringOM\Behaviors\CompensateDesigner.cs (1)
42public CompensateDesignerTheme(WorkflowTheme theme)
AuthoringOM\Behaviors\CompensationDesigner.cs (1)
66public CompensationDesignerTheme(WorkflowTheme theme)
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (1)
86public FaultHandlerActivityDesignerTheme(WorkflowTheme theme)
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (1)
104public FaultHandlersActivityDesignerTheme(WorkflowTheme theme)
AuthoringOM\Design\ActivityDesigner.cs (12)
310return WorkflowTheme.CurrentTheme.GetDesignerTheme(this); 504if (WorkflowTheme.CurrentTheme.AmbientTheme.ShowConfigErrors && 535AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 559AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 564imageRectangle.X = bounds.Left + WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Width; 1059AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 3037Size glyphSize = WorkflowTheme.CurrentTheme.AmbientTheme.GlyphSize; 3040Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 3080graphics.FillRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.BackgroundBrush, activatedBounds); 3081using (Brush transparentSelectionBrush = new SolidBrush(Color.FromArgb(50, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor))) 3089Size glyphSize = WorkflowTheme.CurrentTheme.AmbientTheme.GlyphSize; 3092Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin;
AuthoringOM\Design\ActivityPreviewDesigner.cs (4)
172PreviewedDesigner.Location = new Point(Location.X + (Size.Width - PreviewedDesigner.Size.Width) / 2, Location.Y + headerHeight + 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height); 299AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 987Size configErrorSize = WorkflowTheme.CurrentTheme.AmbientTheme.GlyphSize; 997AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
AuthoringOM\Design\CommandSet.cs (4)
684WorkflowTheme themeToApply = themeConfigDialog.ComposedTheme.Clone() as WorkflowTheme; 687WorkflowTheme.CurrentTheme = themeToApply; 688WorkflowTheme.SaveThemeSettingToRegistry();
AuthoringOM\Design\CompositeActivityDesigner.cs (5)
245expandButtonRectangle.Y += 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height; 259Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 300Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 332Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 1297containerSize.Height = TitleHeight + WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height;
AuthoringOM\Design\Connector.cs (6)
185Size defaultSize = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 330Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize; 455using (Pen lineSelectionPen = new Pen(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor, 1)) 1526AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 1553AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 1696Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin;
AuthoringOM\Design\DesignerHelpers.cs (8)
245graphics.DrawRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionPatternPen, selectionRect); 263graphics.DrawRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForegroundPen, grabHandle); 267Pen patternPen = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionPatternPen; 328AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 514Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 520if (WorkflowTheme.CurrentTheme.AmbientTheme.ShowDesignerBorder) 1185AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 1188Size snapSize = WorkflowTheme.CurrentTheme.AmbientTheme.GridSize;
AuthoringOM\Design\DesignerInterfaces.cs (2)
325return WorkflowTheme.CurrentTheme.AmbientTheme; 402return WorkflowTheme.CurrentTheme.AmbientTheme;
AuthoringOM\Design\DesignerWidgets.cs (9)
2659this.bounds.Width = 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Width; 2671AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 2766ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, this.helpText, stripRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, textBrush); 2830Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 3238Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 3371Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 3407Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 3410ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, PreviewModeDescription, this.previewModeDescRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush); 3446ActivityDesignerPaint.DrawText(graphics, designerTheme.Font, previewDescription, descriptionRectangle, StringAlignment.Center, WorkflowTheme.CurrentTheme.AmbientTheme.TextQuality, designerTheme.ForegroundBrush);
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (18)
52private WorkflowTheme bufferedTheme; 66public ThemeConfigurationDialog(IServiceProvider serviceProvider, WorkflowTheme theme) 310public WorkflowTheme ComposedTheme 456if (!extension.Equals(WorkflowTheme.DefaultThemeFileExtension.Replace("*", ""), StringComparison.Ordinal)) 594fileDialog.DefaultExt = WorkflowTheme.DefaultThemeFileExtension; 825internal static DesignerTheme[] GetDesignerThemes(IServiceProvider serviceProvider, WorkflowTheme workflowTheme, TreeNode selectedNode) 874internal static void EnsureDesignerThemes(IServiceProvider serviceProvider, WorkflowTheme workflowTheme, TreeNode[] items) 1228base.OnThemeChange(WorkflowTheme.CurrentTheme, EventArgs.Empty); 1235private WorkflowTheme oldTheme = null; 1237internal BufferedTheme(WorkflowTheme themeToApply) 1239if (themeToApply != null && WorkflowTheme.CurrentTheme != themeToApply) 1241WorkflowTheme.EnableChangeNotification = false; 1242this.oldTheme = WorkflowTheme.CurrentTheme; 1243WorkflowTheme.CurrentTheme = themeToApply; 1249if (this.oldTheme != null && WorkflowTheme.CurrentTheme != this.oldTheme) 1251WorkflowTheme.CurrentTheme.ReadOnly = false; //this was themeToApply passed into constructor, need to make it r/w again 1252WorkflowTheme.CurrentTheme = this.oldTheme; 1253WorkflowTheme.EnableChangeNotification = true;
AuthoringOM\Design\DocumentOutline.cs (3)
53WorkflowTheme.ThemeChanged += new EventHandler(OnThemeChanged); 81WorkflowTheme.ThemeChanged -= new EventHandler(OnThemeChanged); 480this.ForeColor = (!activity.Enabled || ActivityDesigner.IsCommentedActivity(activity)) ? WorkflowTheme.CurrentTheme.AmbientTheme.CommentIndicatorColor : SystemColors.WindowText;
AuthoringOM\Design\FreeFormDesigner.cs (3)
173if (WorkflowTheme.CurrentTheme.AmbientTheme.ShowGrid) 175Size gridSize = WorkflowTheme.CurrentTheme.AmbientTheme.GridSize; 842if (WorkflowTheme.CurrentTheme.AmbientTheme.ShowGrid)
AuthoringOM\Design\Glyphs\CommentGlyph.cs (1)
36bounds.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.Margin);
AuthoringOM\Design\Glyphs\ConfigErrorGlyph.cs (3)
50Size configErrorSize = WorkflowTheme.CurrentTheme.AmbientTheme.GlyphSize; 51Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 58AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
AuthoringOM\Design\Glyphs\ConnectorDragDropGlyph.cs (2)
20AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 26return new Rectangle(this.glyphPoint, WorkflowTheme.CurrentTheme.AmbientTheme.DropIndicatorSize);
AuthoringOM\Design\Glyphs\LockedActivityGlyph.cs (2)
40bounds.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.Margin); 55bounds.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.Margin);
AuthoringOM\Design\Glyphs\ReadOnlyActivityGlyph.cs (2)
24bounds.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.Margin); 39bounds.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.Margin);
AuthoringOM\Design\Glyphs\SelectionGlyph.cs (4)
21rectangle.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize.Width / 2, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize.Height / 2); 27ActivityDesignerPaint.DrawSelection(graphics, GetBounds(designer, activated), IsPrimarySelection, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize, GetGrabHandles(designer)); 42Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize;
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (3)
137AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 154Size indicatorMargins = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 155Size scrollIndicatorSize = WorkflowTheme.CurrentTheme.AmbientTheme.ScrollIndicatorSize;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
608ActivityDesignerPaint.DrawImage(e.Graphics, this.dragImage, new Rectangle(this.dragImagePointInClientCoOrd, this.dragImage.Size), new Rectangle(0, 0, this.dragImage.Width, this.dragImage.Height), DesignerContentAlignment.Center, (this.dragImageSnapped) ? 1.0f : 0.5f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale);
AuthoringOM\Design\MessageFilters\FreeFormDragDropManager.cs (1)
226AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
AuthoringOM\Design\MessageFilters\GlyphManager.cs (2)
112OnPaint(graphics, true, WorkflowTheme.CurrentTheme.AmbientTheme, designer); 117OnPaint(graphics, false, WorkflowTheme.CurrentTheme.AmbientTheme, designer);
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (2)
193Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize; 278Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize;
AuthoringOM\Design\MessageFilters\WorkflowDesignerMessageFilter.cs (2)
488handled = OnPaint(eventArgs, viewPort, WorkflowTheme.CurrentTheme.AmbientTheme); 502handled = OnPaintWorkflowAdornments(eventArgs, viewPort, WorkflowTheme.CurrentTheme.AmbientTheme);
AuthoringOM\Design\SequentialActivityDesigner.cs (1)
519AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
AuthoringOM\Design\SequentialWorkflowHeaderFooter.cs (3)
105Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 137Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 159Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin;
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (6)
227AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 370imageRectangle.Y = HeaderBarRectangle.Bottom + WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height; 402headerBarRectangle.Height = Math.Max(2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height + base.textSize.Height, MinHeaderBarHeight); 411return 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height; 437minHeight += (minHeight > 0) ? 2 * WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height : 0; 457imageRectangle.Y += WorkflowTheme.CurrentTheme.AmbientTheme.Margin.Height;
AuthoringOM\Design\StructuredCompositeActivityDesigner.cs (1)
625this.itemPalette.SetFont(WorkflowTheme.CurrentTheme.AmbientTheme.Font);
AuthoringOM\Design\Themes.cs (78)
155internal static string DefaultNamespace = typeof(WorkflowTheme).Namespace.Replace(".", "_"); 161private static WorkflowTheme currentTheme = null; 175WorkflowTheme.currentTheme = LoadThemeSettingFromRegistry(); 176if (WorkflowTheme.currentTheme != null) 177WorkflowTheme.currentTheme.ReadOnly = true; 182this.filePath = WorkflowTheme.GenerateThemeFilePath(); 212return WorkflowTheme.uiService; 216WorkflowTheme.uiService = value; 217WorkflowTheme.defaultFont = null; //clear cached font 218WorkflowTheme.CurrentTheme.AmbientTheme.UpdateFont(); 224if (WorkflowTheme.defaultFont == null) 226if (WorkflowTheme.UIService != null) 227WorkflowTheme.defaultFont = WorkflowTheme.UIService.Styles["DialogFont"] as Font; 229if (WorkflowTheme.defaultFont == null) 230WorkflowTheme.defaultFont = Control.DefaultFont; 244public static WorkflowTheme CurrentTheme 248if (WorkflowTheme.currentTheme == null) 250WorkflowTheme.currentTheme = CreateStandardTheme(ThemeType.Default); 251WorkflowTheme.currentTheme.ReadOnly = true; 254return WorkflowTheme.currentTheme; 259if (WorkflowTheme.currentTheme == value) 265WorkflowTheme oldTheme = WorkflowTheme.currentTheme; 267WorkflowTheme.currentTheme = value; 268WorkflowTheme.currentTheme.ReadOnly = true; 270if (WorkflowTheme.EnableChangeNotification) 288return WorkflowTheme.enableChangeNotification; 293if (WorkflowTheme.enableChangeNotification == value) 295WorkflowTheme.enableChangeNotification = value; 336public static WorkflowTheme LoadThemeSettingFromRegistry() 338WorkflowTheme loadedTheme = null; 340RegistryKey themeKey = Registry.CurrentUser.OpenSubKey(WorkflowTheme.RegistryKeyPath); 346object registryValue = themeKey.GetValue(WorkflowTheme.ThemeTypeKey); 352registryValue = themeKey.GetValue(WorkflowTheme.ThemePathKey); 357if (extension.Equals(WorkflowTheme.DefaultThemeFileExtension.Replace("*", ""), StringComparison.Ordinal)) 358loadedTheme = WorkflowTheme.Load(themePath); 384RegistryKey themeKey = Registry.CurrentUser.CreateSubKey(WorkflowTheme.RegistryKeyPath); 389themeKey.SetValue(WorkflowTheme.ThemeTypeKey, WorkflowTheme.CurrentTheme.themeType); 390if (WorkflowTheme.CurrentTheme.themeType == ThemeType.UserDefined) 391themeKey.SetValue(WorkflowTheme.ThemePathKey, WorkflowTheme.CurrentTheme.FilePath); 393themeKey.SetValue(WorkflowTheme.ThemePathKey, String.Empty); 406public static WorkflowTheme CreateStandardTheme(ThemeType standardThemeType) 408WorkflowTheme theme = null; 450if (WorkflowTheme.ThemeChanged != null) 451WorkflowTheme.ThemeChanged(WorkflowTheme.currentTheme, EventArgs.Empty); 456public static WorkflowTheme Load(string themeFilePath) 460return WorkflowTheme.Load(serializationManager, themeFilePath); 463public static WorkflowTheme Load(IDesignerSerializationManager serializationManager, string themeFilePath) 468WorkflowTheme theme = null; 478theme = xomlSerializer.Deserialize(serializationManager, xmlReader) as WorkflowTheme; 529public WorkflowTheme Clone() 531WorkflowTheme theme = null; 549theme = xomlSerializer.Deserialize(serializationManager, xmlReader) as WorkflowTheme; 714stream = designerType.Assembly.GetManifestResourceStream(WorkflowTheme.ThemeResourceNS + themeAttrib.Xml); 848private WorkflowTheme workflowTheme = null; 852protected DesignerTheme(WorkflowTheme theme) 880protected WorkflowTheme ContainingTheme 966return Activator.CreateInstance(type, new object[] { serializationManager.Context[typeof(WorkflowTheme)] }); 1003public ActivityDesignerTheme(WorkflowTheme theme) 1448public CompositeDesignerTheme(WorkflowTheme theme) 1700public ActivityPreviewDesignerTheme(WorkflowTheme theme) 1973fontSizes = new float[] { WorkflowTheme.GetDefaultFont().SizeInPoints - 2.0f, WorkflowTheme.GetDefaultFont().SizeInPoints, WorkflowTheme.GetDefaultFont().SizeInPoints + 2.0f }; 2003private string fontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 2033public AmbientTheme(WorkflowTheme theme) 3067this.fontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3072this.fontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3090this.fontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3095this.fontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3129this.FontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3169WorkflowTheme.FireThemeChange(); 3183FontName = WorkflowTheme.GetDefaultFont().FontFamily.Name; 3297fileDialog.DefaultExt = WorkflowTheme.DefaultThemeFileExtension;
AuthoringOM\Design\WorkflowInlining.cs (1)
489public InvokeWorkflowDesignerTheme(WorkflowTheme theme)
AuthoringOM\Design\WorkflowLayouts.cs (9)
174AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 196ActivityDesignerPaint.DrawImage(graphics, memoryBitmap, bitmapArea, bitmapArea, DesignerContentAlignment.Fill, 1.0f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale); 262graphics.FillRectangle(WorkflowTheme.CurrentTheme.AmbientTheme.BackgroundBrush, rootBounds); 386Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize; 516AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 590AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 681ActivityDesignerPaint.DrawImage(graphics, memoryBitmap, new Rectangle(bitmapDrawingPoint, viewPortBitmapArea.Size), viewPortBitmapArea, DesignerContentAlignment.Fill, 1.0f, WorkflowTheme.CurrentTheme.AmbientTheme.DrawGrayscale); 722Size margin = WorkflowTheme.CurrentTheme.AmbientTheme.Margin; 728Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize;
AuthoringOM\Design\WorkflowPrinting.cs (3)
110AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 303graphics.DrawString(headerFooter, headerFooterPrintData.Font, WorkflowTheme.CurrentTheme.AmbientTheme.ForegroundBrush, layoutRectangle, stringFormat); 310Size selectionSize = WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize;
AuthoringOM\Design\WorkflowView.cs (8)
97private int shadowDepth = WorkflowTheme.CurrentTheme.AmbientTheme.ShadowDepth; 176WorkflowTheme.UIService = uiService; 185WorkflowTheme.ThemeChanged += new EventHandler(OnThemeChange); 262WorkflowTheme.ThemeChanged -= new EventHandler(OnThemeChange); 1603AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme; 1678ShadowDepth = WorkflowTheme.CurrentTheme.AmbientTheme.ShadowDepth; 1720rectangleToMakeVisible.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize); 1721rectangleToMakeVisible.Inflate(WorkflowTheme.CurrentTheme.AmbientTheme.SelectionSize);
AuthoringOM\FaultDesigner.cs (1)
27public ThrowDesignerTheme(WorkflowTheme theme)
AuthoringOM\SequenceDesigner.cs (1)
26public SequenceDesignerTheme(WorkflowTheme theme)
AuthoringOM\SuspendDesigner.cs (1)
24public SuspendDesignerTheme(WorkflowTheme theme)
AuthoringOM\TerminateDesigner.cs (1)
24public TerminateDesignerTheme(WorkflowTheme theme)
System.WorkflowServices (2)
System\Workflow\Activities\ReceiveActivityDesignerTheme.cs (1)
21public ReceiveActivityDesignerTheme(WorkflowTheme theme)
System\Workflow\Activities\SendActivityDesignerTheme.cs (1)
21public SendActivityDesignerTheme(WorkflowTheme theme)