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