11 instantiations of DrawingBrush
PresentationCore (1)
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (1)
173return new DrawingBrush();
PresentationFramework (5)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
94DrawingBrush tileBrush = new DrawingBrush(hatchDG);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
271DrawingBrush db = new DrawingBrush(drawing);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
166DrawingBrush brush = new DrawingBrush(drawingGroup);
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3918bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.DrawingBrush(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1246case KnownElements.DrawingBrush: o = new System.Windows.Media.DrawingBrush(); break;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
System.Activities.Presentation (1)
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (1)
220DrawingBrush icon = new DrawingBrush();
230 references to DrawingBrush
PresentationCore (7)
Core\CSharp\System\Windows\Media\Generated\DrawingBrush.cs (7)
65public new DrawingBrush Clone() 67return (DrawingBrush)base.Clone(); 74public new DrawingBrush CloneCurrentValue() 76return (DrawingBrush)base.CloneCurrentValue(); 111DrawingBrush target = ((DrawingBrush) d); 416Type typeofThis = typeof(DrawingBrush);
PresentationFramework (6)
src\Framework\MS\Internal\Controls\InkCanvasSelectionAdorner.cs (1)
94DrawingBrush tileBrush = new DrawingBrush(hatchDG);
src\Framework\MS\Internal\Ink\PenCursorManager.cs (1)
271DrawingBrush db = new DrawingBrush(drawing);
src\Framework\System\Windows\Documents\SpellerHighlightLayer.cs (1)
166DrawingBrush brush = new DrawingBrush(drawingGroup);
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
272case 180: t = () => typeof(DrawingBrush); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3916typeof(System.Windows.Media.DrawingBrush),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5724case KnownElements.DrawingBrush: t = typeof(System.Windows.Media.DrawingBrush); break;
PresentationFramework.Aero (1)
Microsoft\Windows\Themes\ProgressBarHighlightConverter.cs (1)
64DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Classic (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Luna (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
PresentationFramework.Royale (1)
parent\Shared\Microsoft\Windows\Themes\ProgressBarBrushConverter.cs (1)
79DrawingBrush newBrush = new DrawingBrush();
System.Activities.Core.Presentation (12)
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (3)
20DependencyProperty.Register("Icon", typeof(DrawingBrush), typeof(FlowchartResizeGrip)); 33public DrawingBrush Icon 35get { return (DrawingBrush)GetValue(IconProperty); }
System\Activities\Core\Presentation\FlowDecisionDesigner.xaml.cs (2)
124if (icons.Contains("FlowDecisionIcon") && icons["FlowDecisionIcon"] is DrawingBrush) 126return (DrawingBrush)icons["FlowDecisionIcon"];
System\Activities\Core\Presentation\FlowSwitchDesigner.xaml.cs (2)
127if (icons.Contains("FlowSwitchIcon") && icons["FlowSwitchIcon"] is DrawingBrush) 129return (DrawingBrush)icons["FlowSwitchIcon"];
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (3)
23DependencyProperty.Register("Icon", typeof(DrawingBrush), typeof(StateContainerResizeGrip)); 38public DrawingBrush Icon 40get { return (DrawingBrush)GetValue(IconProperty); }
System\Activities\Core\Presentation\StateDesigner.xaml.cs (2)
90if (icon != null && icon is DrawingBrush) 92return (DrawingBrush)icon;
System.Activities.Presentation (201)
System.Activities.Presentation\System\Activities\Presentation\ActivityDesigner.cs (7)
32public DrawingBrush Icon 34get { return (DrawingBrush)GetValue(IconProperty); } 39DependencyProperty.Register("Icon", typeof(DrawingBrush), typeof(ActivityDesigner), new UIPropertyMetadata(null)); 270internal DrawingBrush GetDefaultIcon() 272DrawingBrush icon = null; 290if (resourceItem is DrawingBrush) 292icon = (DrawingBrush)resourceItem;
System.Activities.Presentation\System\Activities\Presentation\ActivityDesignerOptionsAttribute.cs (1)
34public Func<ModelItem, DrawingBrush> OutlineViewIconProvider
System.Activities.Presentation\System\Activities\Presentation\Toolbox\ToolboxItemWrapper.cs (3)
250internal static Bitmap CreateBitmapFromDrawingBrush(DrawingBrush resource) 267context.DrawRectangle(((DrawingBrush)resource), null, new Rect(0, 0, defaultPixelWidth, defaultPixelHeight)); 286DrawingBrush drawingBrush = IconHelper.GetBrushFromResource(resourceString);
System.Activities.Presentation\System\Activities\Presentation\Utility\IconHelper.cs (3)
91internal static DrawingBrush GetBrushFromResource(string activityFullName) 102DrawingBrush drawingBrush = resourceDictionary[resourceKey] as DrawingBrush;
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (4)
1764IDictionary<KeyValuePair<string, bool>, DrawingBrush> glyphCache = new Dictionary<KeyValuePair<string, bool>, DrawingBrush>(); 1774DrawingBrush glyph = null; 1779glyph = WorkflowDesignerIcons.IconResourceDictionary[key] as DrawingBrush;
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (3)
43typeof(DrawingBrush), 170public DrawingBrush Icon 172get { return (DrawingBrush)GetValue(IconProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowHeader.cs (9)
24DependencyProperty.Register("ButtonCloseIcon", typeof(DrawingBrush), typeof(ExtensionWindowHeader)); 27DependencyProperty.Register("Icon", typeof(DrawingBrush), typeof(ExtensionWindowHeader)); 30DependencyProperty.Register("DropDownMenuIcon", typeof(DrawingBrush), typeof(ExtensionWindowHeader)); 56public DrawingBrush ButtonCloseIcon 58get { return (DrawingBrush)GetValue(ButtonCloseIconProperty); } 63public DrawingBrush Icon 65get { return (DrawingBrush)GetValue(IconProperty); } 70public DrawingBrush DropDownMenuIcon 72get { return (DrawingBrush)GetValue(DropDownMenuIconProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (3)
20DependencyProperty.Register("Icon", typeof(DrawingBrush), typeof(ExtensionWindowResizeGrip)); 35public DrawingBrush Icon 37get { return (DrawingBrush)GetValue(IconProperty); }
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemModelItemViewModel.cs (4)
288private static DrawingBrush GetIconFromUnInitializedDesigner(ActivityDesigner designer) 290DrawingBrush icon = null; 327private DrawingBrush GetIconByVisualValue() 331DrawingBrush icon = null;
System.Activities.Presentation\System\Activities\Presentation\View\TreeView\TreeViewItemViewModel.cs (4)
24DrawingBrush icon = null; 29internal static Dictionary<Type, DrawingBrush> IconCache = new Dictionary<Type, DrawingBrush>(); 62public DrawingBrush Icon
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesignerIcons.cs (160)
218private static DrawingBrush MakeIcon(ImageSource imageSource) 220DrawingBrush icon = new DrawingBrush(); 248public static DrawingBrush AddToCollection 252return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.addToCollectionIconName] as DrawingBrush; 264public static DrawingBrush Assign 268return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.assignIconName] as DrawingBrush; 280public static DrawingBrush CancellationScope 284return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.cancellationScopeIconName] as DrawingBrush; 296public static DrawingBrush ClearCollection 300return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.clearCollectionIconName] as DrawingBrush; 312public static DrawingBrush CompensableActivity 316return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.compensableActivityIconName] as DrawingBrush; 328public static DrawingBrush Compensate 332return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.compensateIconName] as DrawingBrush; 344public static DrawingBrush Confirm 348return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.confirmIconName] as DrawingBrush; 360public static DrawingBrush CorrelationScope 364return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.correlationScopeIconName] as DrawingBrush; 376public static DrawingBrush Delay 380return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.delayIconName] as DrawingBrush; 392public static DrawingBrush DoWhile 396return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.doWhileIconName] as DrawingBrush; 408public static DrawingBrush ExistsInCollection 412return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.existsInCollectionIconName] as DrawingBrush; 424public static DrawingBrush FinalState 428return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.finalStateIconName] as DrawingBrush; 440public static DrawingBrush Flowchart 444return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.flowchartIconName] as DrawingBrush; 456public static DrawingBrush FlowDecision 460return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.flowDecisionIconName] as DrawingBrush; 472public static DrawingBrush FlowDecisionNode 476return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.flowDecisionIconBrushName] as DrawingBrush; 488public static DrawingBrush FlowSwitch 492return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.flowSwitchIconName] as DrawingBrush; 504public static DrawingBrush FlowSwitchNode 508return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.flowSwitchIconBrushName] as DrawingBrush; 520public static DrawingBrush ForEach 524return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.forEachIconName] as DrawingBrush; 536public static DrawingBrush DefaultCustomActivity 540return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.genericLeafActivityIconName] as DrawingBrush; 553public static DrawingBrush If 557return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.ifIconName] as DrawingBrush; 569public static DrawingBrush InitializeCorrelation 573return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.initializeCorrelationIconName] as DrawingBrush; 585public static DrawingBrush Interop 589return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.interopIconName] as DrawingBrush; 601public static DrawingBrush InvokeDelegate 605return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.invokeDelegateIconName] as DrawingBrush; 617public static DrawingBrush InvokeMethod 621return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.invokeMethodIconName] as DrawingBrush; 633public static DrawingBrush NoPersistScope 637return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.noPersistScopeIconName] as DrawingBrush; 649public static DrawingBrush ParallelForEach 653return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.parallelForEachIconName] as DrawingBrush; 665public static DrawingBrush Parallel 669return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.parallelIconName] as DrawingBrush; 681public static DrawingBrush Persist 685return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.persistIconName] as DrawingBrush; 697public static DrawingBrush PickBranch 701return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.pickBranchIconName] as DrawingBrush; 713public static DrawingBrush Pick 717return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.pickIconName] as DrawingBrush; 729public static DrawingBrush ReceiveAndSendReply 733return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.receiveAndSendReplyIconName] as DrawingBrush; 745public static DrawingBrush Receive 749return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.receiveIconName] as DrawingBrush; 761public static DrawingBrush ReceiveReply 765return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.receiveReplyIconName] as DrawingBrush; 777public static DrawingBrush RemoveFromCollection 781return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.removeFromCollectionIconName] as DrawingBrush; 793public static DrawingBrush Rethrow 797return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.rethrowIconName] as DrawingBrush; 809public static DrawingBrush SendAndReceiveReply 813return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.sendAndReceiveReplyIconName] as DrawingBrush; 825public static DrawingBrush Send 829return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.sendIconName] as DrawingBrush; 841public static DrawingBrush SendReply 845return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.sendReplyIconName] as DrawingBrush; 857public static DrawingBrush Sequence 861return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.sequenceIconName] as DrawingBrush; 873public static DrawingBrush StartNode 877return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.startSymbolIconName] as DrawingBrush; 889public static DrawingBrush State 893return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.stateIconName] as DrawingBrush; 905public static DrawingBrush StateEntry 909return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.entryIconName] as DrawingBrush; 921public static DrawingBrush StateExit 925return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.exitIconName] as DrawingBrush; 937public static DrawingBrush StateMachine 941return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.stateMachineIconName] as DrawingBrush; 953public static DrawingBrush Switch 957return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.switchIconName] as DrawingBrush; 969public static DrawingBrush TerminateWorkflow 973return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.terminateWorkflowIconName] as DrawingBrush; 985public static DrawingBrush Throw 989return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.throwIconName] as DrawingBrush; 1001public static DrawingBrush TransactedReceiveScope 1005return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.transactedReceiveScopeIconName] as DrawingBrush; 1017public static DrawingBrush TransactionScope 1021return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.transactionScopeIconName] as DrawingBrush; 1033public static DrawingBrush StateTransition 1037return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.transitionIconName] as DrawingBrush; 1049public static DrawingBrush TryCatch 1053return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.tryCatchIconName] as DrawingBrush; 1065public static DrawingBrush While 1069return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.whileIconName] as DrawingBrush; 1081public static DrawingBrush WriteLine 1085return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.writeLineIconName] as DrawingBrush; 1094internal static DrawingBrush ToolboxDefaultCustomActivity 1098return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.toolboxDefaultCustomActivityName] as DrawingBrush; 1117public static DrawingBrush Copy 1121return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationCopyIconName] as DrawingBrush; 1133public static DrawingBrush CopyDisabled 1137return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationCopyDisabledIconName] as DrawingBrush; 1149public static DrawingBrush Cut 1153return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationCutIconName] as DrawingBrush; 1165public static DrawingBrush CutDisabled 1169return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationCutDisabledIconName] as DrawingBrush; 1181public static DrawingBrush Delete 1185return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationDeleteIconName] as DrawingBrush; 1197public static DrawingBrush DeleteDisabled 1201return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationDeleteDisabledIconName] as DrawingBrush; 1213public static DrawingBrush Paste 1217return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationPasteIconName] as DrawingBrush; 1229public static DrawingBrush PasteDisabled 1233return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.operationPasteDisabledIconName] as DrawingBrush; 1253public static DrawingBrush Annotation 1257return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.annotationIndicatorIconName] as DrawingBrush; 1272public static DrawingBrush ActivityErrorValidation 1276return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.errorValidationIconName] as DrawingBrush; 1289public static DrawingBrush DeleteButton 1293return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.deleteIconName] as DrawingBrush; 1306public static DrawingBrush DeleteDisabledButton 1310return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.deleteDisabledIconName] as DrawingBrush; 1322public static DrawingBrush FitToScreen 1326return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.fitToScreenIconName] as DrawingBrush; 1338public static DrawingBrush Overview 1342return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.minimapIconName] as DrawingBrush; 1354public static DrawingBrush OverviewWindowCloseButton 1358return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.extensionWindowHeaderCloseButtonName] as DrawingBrush; 1371public static DrawingBrush MoveDownButton 1375return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.moveDownIconName] as DrawingBrush; 1388public static DrawingBrush MoveDownDisabledButton 1392return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.moveDownDisabledIconName] as DrawingBrush; 1405public static DrawingBrush MoveUpButton 1409return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.moveUpIconName] as DrawingBrush; 1422public static DrawingBrush MoveUpDisabledButton 1426return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.moveUpDisabledIconName] as DrawingBrush; 1438public static DrawingBrush PanMode 1442return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.panModeIconName] as DrawingBrush; 1454public static DrawingBrush ResizeGrip 1458return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.resizeGripIconName] as DrawingBrush; 1473public static DrawingBrush TextBoxErrorValidation 1477return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.textBoxErrorIconName] as DrawingBrush; 1492public static DrawingBrush WorkflowErrorValidation 1496return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.validationErrorIconName] as DrawingBrush; 1508public static DrawingBrush WarningValidation 1512return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.warningValidationIconName] as DrawingBrush; 1524public static DrawingBrush Zoom 1528return WorkflowDesignerIcons.IconResourceDictionary[WorkflowDesignerIcons.zoomIconName] as DrawingBrush;