/
ActivityDesigner.xml
3974 lines (3618 loc) · 283 KB
/
ActivityDesigner.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<Type Name="ActivityDesigner" FullName="System.Workflow.ComponentModel.Design.ActivityDesigner">
<TypeSignature Language="C#" Value="public class ActivityDesigner : IDisposable, System.ComponentModel.Design.IDesignerFilter, System.ComponentModel.Design.IRootDesigner, System.Drawing.Design.IToolboxUser, System.Workflow.ComponentModel.Design.IPersistUIState, System.Workflow.ComponentModel.Design.IWorkflowRootDesigner" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit ActivityDesigner extends System.Object implements class System.ComponentModel.Design.IDesigner, class System.ComponentModel.Design.IDesignerFilter, class System.ComponentModel.Design.IRootDesigner, class System.Drawing.Design.IToolboxUser, class System.IDisposable, class System.Workflow.ComponentModel.Design.IPersistUIState, class System.Workflow.ComponentModel.Design.IWorkflowRootDesigner" />
<TypeSignature Language="DocId" Value="T:System.Workflow.ComponentModel.Design.ActivityDesigner" />
<TypeSignature Language="VB.NET" Value="Public Class ActivityDesigner
Implements IDesignerFilter, IDisposable, IPersistUIState, IRootDesigner, IToolboxUser, IWorkflowRootDesigner" />
<TypeSignature Language="F#" Value="type ActivityDesigner = class
 interface IDesignerFilter
 interface IToolboxUser
 interface IPersistUIState
 interface IWorkflowRootDesigner
 interface IRootDesigner
 interface IDesigner
 interface IDisposable" FrameworkAlternate="netframework-3.0;netframework-3.5;netframework-4.0;netframework-4.5;netframework-4.5.1;netframework-4.5.2" />
<TypeSignature Language="C++ CLI" Value="public ref class ActivityDesigner : IDisposable, System::ComponentModel::Design::IDesignerFilter, System::ComponentModel::Design::IRootDesigner, System::Drawing::Design::IToolboxUser, System::Workflow::ComponentModel::Design::IPersistUIState, System::Workflow::ComponentModel::Design::IWorkflowRootDesigner" />
<TypeSignature Language="F#" Value="type ActivityDesigner = class
 interface IDisposable
 interface IDesignerFilter
 interface IDesigner
 interface IToolboxUser
 interface IPersistUIState
 interface IWorkflowRootDesigner
 interface IRootDesigner" FrameworkAlternate="netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1" />
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ComponentModel.Design.IDesigner</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.ComponentModel.Design.IDesignerFilter</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.ComponentModel.Design.IRootDesigner</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Drawing.Design.IToolboxUser</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Workflow.ComponentModel.Design.IPersistUIState</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Workflow.ComponentModel.Design.IWorkflowRootDesigner</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.Design.Serialization.DesignerSerializer(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerLayoutSerializer), typeof(System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer))]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.Design.Serialization.DesignerSerializer(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerLayoutSerializer), typeof(System.Workflow.ComponentModel.Serialization.WorkflowMarkupSerializer))>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.ToolboxItemFilter("Microsoft.Workflow.VSDesigner", System.ComponentModel.ToolboxItemFilterType.Require)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.ToolboxItemFilter("Microsoft.Workflow.VSDesigner", System.ComponentModel.ToolboxItemFilterType.Require)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.ComponentModel.ToolboxItemFilter("System.Workflow.ComponentModel.Design.ActivitySet", System.ComponentModel.ToolboxItemFilterType.Custom)]</AttributeName>
<AttributeName Language="F#">[<System.ComponentModel.ToolboxItemFilter("System.Workflow.ComponentModel.Design.ActivitySet", System.ComponentModel.ToolboxItemFilterType.Custom)>]</AttributeName>
</Attribute>
<Attribute>
<AttributeName Language="C#">[System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))]</AttributeName>
<AttributeName Language="F#">[<System.Workflow.ComponentModel.Design.ActivityDesignerTheme(typeof(System.Workflow.ComponentModel.Design.ActivityDesignerTheme))>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.5;netframework-4.5.1;netframework-4.5.2;netframework-4.6;netframework-4.6.1;netframework-4.6.2;netframework-4.7;netframework-4.7.1;netframework-4.7.2;netframework-4.8;netframework-4.8.1">
<AttributeName Language="C#">[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]</AttributeName>
<AttributeName Language="F#">[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Provides a mandatory base class for all activity designer components.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
> [!NOTE]
> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
All activity designer components derive from <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>. The <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> provides a simple designer which lets the user visually design activities in the design mode.
<xref:System.Workflow.ComponentModel.Design.ActivityDesigner> provides a simple mechanism for the activities so they can participate in rendering the workflow on the design surface.
<xref:System.Workflow.ComponentModel.Design.ActivityDesigner> lets the user customize layout and drawing associated with the activity.
<xref:System.Workflow.ComponentModel.Design.ActivityDesigner> lets the user extend the metadata associated with the activity.
## Examples
The following example shows a complete implementation of an <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> for a custom activity. The designer has a flag that can be toggled to allow the base class <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> to control the painting or to utilize the various methods the <xref:System.Workflow.ComponentModel.Design.ActivityDesignerPaint> class to draw the activity.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet72":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet72":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public ActivityDesigner ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 ActivityDesigner();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="AccessibilityObject">
<MemberSignature Language="C#" Value="public virtual System.Windows.Forms.AccessibleObject AccessibilityObject { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Windows.Forms.AccessibleObject AccessibilityObject" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.AccessibilityObject" />
<MemberSignature Language="VB.NET" Value="Public Overridable ReadOnly Property AccessibilityObject As AccessibleObject" />
<MemberSignature Language="F#" Value="member this.AccessibilityObject : System.Windows.Forms.AccessibleObject" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.AccessibilityObject" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual property System::Windows::Forms::AccessibleObject ^ AccessibilityObject { System::Windows::Forms::AccessibleObject ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Windows.Forms.AccessibleObject</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets an <see cref="T:System.Windows.Forms.AccessibleObject" /> that accessibility applications use to adjust the application UI for users who have impairments.</summary>
<value>The <see cref="T:System.Windows.Forms.AccessibleObject" /> associated with the control.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
If no <xref:System.Windows.Forms.AccessibleObject> is currently assigned to the control, a new instance of one is created.
> [!NOTE]
> To get or set the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.AccessibilityObject%2A> property, you must add a reference to the Accessibility assembly installed with the .NET Framework.
For more information about accessible objects, see [Microsoft Active Accessibility](/windows/win32/winauto/microsoft-active-accessibility).
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Activity">
<MemberSignature Language="C#" Value="public System.Workflow.ComponentModel.Activity Activity { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Workflow.ComponentModel.Activity Activity" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.Activity" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Activity As Activity" />
<MemberSignature Language="F#" Value="member this.Activity : System.Workflow.ComponentModel.Activity" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.Activity" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Workflow::ComponentModel::Activity ^ Activity { System::Workflow::ComponentModel::Activity ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Activity</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the <see cref="T:System.Workflow.ComponentModel.Activity" /> associated with the designer.</summary>
<value>The <see cref="T:System.Workflow.ComponentModel.Activity" /> associated with the designer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Workflow.ComponentModel.Activity> to access the properties and events of the activity.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Bounds">
<MemberSignature Language="C#" Value="public System.Drawing.Rectangle Bounds { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Rectangle Bounds" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.Bounds" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Bounds As Rectangle" />
<MemberSignature Language="F#" Value="member this.Bounds : System.Drawing.Rectangle" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.Bounds" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Drawing::Rectangle Bounds { System::Drawing::Rectangle get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Rectangle</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a <see cref="T:System.Drawing.Rectangle" /> which contains the value for the enclosing rectangle of the designer in logical coordinates.</summary>
<value>A <see cref="T:System.Drawing.Rectangle" /> that encloses the designer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
You can use the rectangle returned by the bounds method to determine the area enclosed by the designer plus the selection area.
## Examples
The following code example demonstrates how you can use the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Bounds%2A> property to determine the new bounding rectangle for a glyph displayed on an <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>.
This code example is part of the Workflow Monitor SDK Sample from the DesignerGlyphProvider.cs file. For more information, see [Workflow Monitor](https://docs.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741706(v=vs.90)).
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets1.cs" id="Snippet133":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet133":::
]]></format>
</remarks>
<related type="Article" href="https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741706(v=vs.90)">Workflow Monitor</related>
</Docs>
</Member>
<Member MemberName="CanBeParentedTo">
<MemberSignature Language="C#" Value="public virtual bool CanBeParentedTo (System.Workflow.ComponentModel.Design.CompositeActivityDesigner parentActivityDesigner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance bool CanBeParentedTo(class System.Workflow.ComponentModel.Design.CompositeActivityDesigner parentActivityDesigner) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.CanBeParentedTo(System.Workflow.ComponentModel.Design.CompositeActivityDesigner)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function CanBeParentedTo (parentActivityDesigner As CompositeActivityDesigner) As Boolean" />
<MemberSignature Language="F#" Value="abstract member CanBeParentedTo : System.Workflow.ComponentModel.Design.CompositeActivityDesigner -> bool
override this.CanBeParentedTo : System.Workflow.ComponentModel.Design.CompositeActivityDesigner -> bool" Usage="activityDesigner.CanBeParentedTo parentActivityDesigner" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual bool CanBeParentedTo(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ parentActivityDesigner);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="parentActivityDesigner" Type="System.Workflow.ComponentModel.Design.CompositeActivityDesigner" />
</Parameters>
<Docs>
<param name="parentActivityDesigner">The <see cref="T:System.Workflow.ComponentModel.Design.CompositeActivityDesigner" /> which can potentially be set as parent.</param>
<summary>Returns a value that indicates if a <see cref="T:System.Workflow.ComponentModel.CompositeActivity" /> can be set as the parent of the activity associated with the designer.</summary>
<returns>
<see langword="true" /> if a <see cref="T:System.Workflow.ComponentModel.CompositeActivity" /> can be set as the parent of the activity associated with the designer; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method is useful for testing whether a designer can be parented by a particular <xref:System.Workflow.ComponentModel.Design.CompositeActivityDesigner>.
This method is called when a user initiates an insertion operation, such as drag-and-drop or paste.
## Examples
The following example demonstrates how to ensure that a custom activity is parented to specific activity types. In this case, the custom activity can only be parented to a `ParallelIfActivity`.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet23":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet23":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CanConnect">
<MemberSignature Language="C#" Value="protected virtual bool CanConnect (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance bool CanConnect(class System.Workflow.ComponentModel.Design.ConnectionPoint source, class System.Workflow.ComponentModel.Design.ConnectionPoint target) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.CanConnect(System.Workflow.ComponentModel.Design.ConnectionPoint,System.Workflow.ComponentModel.Design.ConnectionPoint)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function CanConnect (source As ConnectionPoint, target As ConnectionPoint) As Boolean" />
<MemberSignature Language="F#" Value="abstract member CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
override this.CanConnect : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool" Usage="activityDesigner.CanConnect (source, target)" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual bool CanConnect(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="source" Type="System.Workflow.ComponentModel.Design.ConnectionPoint" />
<Parameter Name="target" Type="System.Workflow.ComponentModel.Design.ConnectionPoint" />
</Parameters>
<Docs>
<param name="source">The <see cref="T:System.Workflow.ComponentModel.Design.ConnectionPoint" /> to check on the current activity designer.</param>
<param name="target">The <see cref="T:System.Workflow.ComponentModel.Design.ConnectionPoint" /> to check on the target activity designer.</param>
<summary>Returns a value that indicates whether a connection can be created between the specified connection point on the current activity designer and the specified connection point on a target activity designer.</summary>
<returns>
<see langword="true" /> to indicate that a connection can be created between source and target; otherwise, <see langword="false" />.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unless overridden in a derived class, <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.CanConnect%2A> always returns `true`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="CreateView">
<MemberSignature Language="C#" Value="protected virtual System.Workflow.ComponentModel.Design.WorkflowView CreateView (System.ComponentModel.Design.ViewTechnology viewTechnology);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance class System.Workflow.ComponentModel.Design.WorkflowView CreateView(valuetype System.ComponentModel.Design.ViewTechnology viewTechnology) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.CreateView(System.ComponentModel.Design.ViewTechnology)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Function CreateView (viewTechnology As ViewTechnology) As WorkflowView" />
<MemberSignature Language="F#" Value="abstract member CreateView : System.ComponentModel.Design.ViewTechnology -> System.Workflow.ComponentModel.Design.WorkflowView
override this.CreateView : System.ComponentModel.Design.ViewTechnology -> System.Workflow.ComponentModel.Design.WorkflowView" Usage="activityDesigner.CreateView viewTechnology" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual System::Workflow::ComponentModel::Design::WorkflowView ^ CreateView(System::ComponentModel::Design::ViewTechnology viewTechnology);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.WorkflowView</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="viewTechnology" Type="System.ComponentModel.Design.ViewTechnology" />
</Parameters>
<Docs>
<param name="viewTechnology">The ViewTechnology to use to create the workflow view.</param>
<summary>Creates a workflow view for the current activity designer using the specified ViewTechnology.</summary>
<returns>A <see cref="T:System.Workflow.ComponentModel.Design.WorkflowView" /> that contains the current activity designer.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unless overridden in a derived class, <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.CreateView%2A> displays the default design-time layout for the activity.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DesignerActions">
<MemberSignature Language="C#" Value="protected internal virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.DesignerAction> DesignerActions { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Workflow.ComponentModel.Design.DesignerAction> DesignerActions" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.DesignerActions" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable ReadOnly Property DesignerActions As ReadOnlyCollection(Of DesignerAction)" />
<MemberSignature Language="F#" Value="member this.DesignerActions : System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.DesignerAction>" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.DesignerActions" />
<MemberSignature Language="C++ CLI" Value="protected public:
 virtual property System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Design::DesignerAction ^> ^ DesignerActions { System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Design::DesignerAction ^> ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.DesignerAction></ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the array of actions associated with configuration errors.</summary>
<value>A read-only array of <see cref="T:System.Workflow.ComponentModel.Design.DesignerAction" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method returns a read-only array of actions associated with configuration errors. This list contains all configuration and validation errors for the Activity which can be presented to the end-user or used programmatically by the system hosting the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="DesignerTheme">
<MemberSignature Language="C#" Value="public System.Workflow.ComponentModel.Design.ActivityDesignerTheme DesignerTheme { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Workflow.ComponentModel.Design.ActivityDesignerTheme DesignerTheme" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.DesignerTheme" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property DesignerTheme As ActivityDesignerTheme" />
<MemberSignature Language="F#" Value="member this.DesignerTheme : System.Workflow.ComponentModel.Design.ActivityDesignerTheme" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.DesignerTheme" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Workflow::ComponentModel::Design::ActivityDesignerTheme ^ DesignerTheme { System::Workflow::ComponentModel::Design::ActivityDesignerTheme ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.ActivityDesignerTheme</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the current designer theme for the activity designer.</summary>
<value>An <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesignerTheme" /> that contains theme settings for the activity designer.</value>
<remarks>To be added.</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Dispose">
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Releases the unmanaged resources used by the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> and optionally releases the managed resources.</summary>
</Docs>
</MemberGroup>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="public void Dispose ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance void Dispose() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Dispose" />
<MemberSignature Language="VB.NET" Value="Public Sub Dispose ()" />
<MemberSignature Language="F#" Value="abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit" Usage="activityDesigner.Dispose " />
<MemberSignature Language="C++ CLI" Value="public:
 virtual void Dispose();" />
<MemberType>Method</MemberType>
<Implements>
<InterfaceMember>M:System.IDisposable.Dispose</InterfaceMember>
</Implements>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Releases the unmanaged resources used by the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> and optionally releases the managed resources.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Dispose">
<MemberSignature Language="C#" Value="protected virtual void Dispose (bool disposing);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Dispose(bool disposing) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Dispose(System.Boolean)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub Dispose (disposing As Boolean)" />
<MemberSignature Language="F#" Value="abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit" Usage="activityDesigner.Dispose disposing" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void Dispose(bool disposing);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="disposing" Type="System.Boolean" />
</Parameters>
<Docs>
<param name="disposing">
<see langword="true" /> if the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> is being disposed; <see langword="false" /> if the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> is being finalized.</param>
<summary>Releases the resources used by the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="DoDefaultAction">
<MemberSignature Language="C#" Value="protected virtual void DoDefaultAction ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void DoDefaultAction() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.DoDefaultAction" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub DoDefaultAction ()" />
<MemberSignature Language="F#" Value="abstract member DoDefaultAction : unit -> unit
override this.DoDefaultAction : unit -> unit" Usage="activityDesigner.DoDefaultAction " />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void DoDefaultAction();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Performs the default UI action associated with the designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this method to perform the default UI action associated with the designer. Default UI actions can include emitting the method associated with the default event in the code-beside file when a user double clicks the designer surface.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="EnableVisualResizing">
<MemberSignature Language="C#" Value="protected internal virtual bool EnableVisualResizing { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EnableVisualResizing" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.EnableVisualResizing" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable ReadOnly Property EnableVisualResizing As Boolean" />
<MemberSignature Language="F#" Value="member this.EnableVisualResizing : bool" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.EnableVisualResizing" />
<MemberSignature Language="C++ CLI" Value="protected public:
 virtual property bool EnableVisualResizing { bool get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a value that indicates whether the activity designer can be resized in a free form designer.</summary>
<value>
<see langword="true" /> if the activity designer can be resized in a <see cref="T:System.Workflow.ComponentModel.Design.FreeformActivityDesigner" />; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unless overridden in a derived class, <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.EnableVisualResizing%2A> always returns `false`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="EnsureVisible">
<MemberSignature Language="C#" Value="public void EnsureVisible ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void EnsureVisible() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.EnsureVisible" />
<MemberSignature Language="VB.NET" Value="Public Sub EnsureVisible ()" />
<MemberSignature Language="F#" Value="member this.EnsureVisible : unit -> unit" Usage="activityDesigner.EnsureVisible " />
<MemberSignature Language="C++ CLI" Value="public:
 void EnsureVisible();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Shifts the visible area of the screen to guarantee that the specified designer is visible.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use this method to move the visible area of the designer surface to show the designer of interest.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Finalize">
<MemberSignature Language="C#" Value="~ActivityDesigner ();" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Finalize() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Finalize" />
<MemberSignature Language="VB.NET" Value="Finalize ()" />
<MemberSignature Language="F#" Value="override this.Finalize : unit -> unit" Usage="activityDesigner.Finalize " />
<MemberSignature Language="C++ CLI" Value="!ActivityDesigner ()" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>When overridden in a derived class, allows an object to clean up any resources deterministically.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This method cleans up resources by calling <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Dispose%2A>(`false`). Override <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Dispose%2A> to customize the cleanup.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetConnectionPoints">
<MemberSignature Language="C#" Value="public virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.ConnectionPoint> GetConnectionPoints (System.Workflow.ComponentModel.Design.DesignerEdges edges);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Collections.ObjectModel.ReadOnlyCollection`1<class System.Workflow.ComponentModel.Design.ConnectionPoint> GetConnectionPoints(valuetype System.Workflow.ComponentModel.Design.DesignerEdges edges) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.GetConnectionPoints(System.Workflow.ComponentModel.Design.DesignerEdges)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function GetConnectionPoints (edges As DesignerEdges) As ReadOnlyCollection(Of ConnectionPoint)" />
<MemberSignature Language="F#" Value="abstract member GetConnectionPoints : System.Workflow.ComponentModel.Design.DesignerEdges -> System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.ConnectionPoint>
override this.GetConnectionPoints : System.Workflow.ComponentModel.Design.DesignerEdges -> System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.ConnectionPoint>" Usage="activityDesigner.GetConnectionPoints edges" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Workflow::ComponentModel::Design::ConnectionPoint ^> ^ GetConnectionPoints(System::Workflow::ComponentModel::Design::DesignerEdges edges);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<System.Workflow.ComponentModel.Design.ConnectionPoint></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="edges" Type="System.Workflow.ComponentModel.Design.DesignerEdges" />
</Parameters>
<Docs>
<param name="edges">The <see cref="T:System.Workflow.ComponentModel.Design.DesignerEdges" /> along which to gather the connection points.</param>
<summary>Returns a read-only collection of connection points for the activity designer along the specified <see cref="T:System.Workflow.ComponentModel.Design.DesignerEdges" />.</summary>
<returns>A <see cref="T:System.Workflow.ComponentModel.Design.ConnectionPoint" /> generic read-only collection that is used as the points at which the activity designer can connect to other activity designers.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
All connection points are in logical coordinates.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="GetConnections">
<MemberSignature Language="C#" Value="protected internal virtual System.Collections.ObjectModel.ReadOnlyCollection<System.Drawing.Point> GetConnections (System.Workflow.ComponentModel.Design.DesignerEdges edges);" />
<MemberSignature Language="ILAsm" Value=".method familyorassemblyhidebysig newslot virtual instance class System.Collections.ObjectModel.ReadOnlyCollection`1<valuetype System.Drawing.Point> GetConnections(valuetype System.Workflow.ComponentModel.Design.DesignerEdges edges) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.GetConnections(System.Workflow.ComponentModel.Design.DesignerEdges)" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable Function GetConnections (edges As DesignerEdges) As ReadOnlyCollection(Of Point)" />
<MemberSignature Language="F#" Value="abstract member GetConnections : System.Workflow.ComponentModel.Design.DesignerEdges -> System.Collections.ObjectModel.ReadOnlyCollection<System.Drawing.Point>
override this.GetConnections : System.Workflow.ComponentModel.Design.DesignerEdges -> System.Collections.ObjectModel.ReadOnlyCollection<System.Drawing.Point>" Usage="activityDesigner.GetConnections edges" />
<MemberSignature Language="C++ CLI" Value="protected public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Drawing::Point> ^ GetConnections(System::Workflow::ComponentModel::Design::DesignerEdges edges);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Collections.ObjectModel.ReadOnlyCollection<System.Drawing.Point></ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="edges" Type="System.Workflow.ComponentModel.Design.DesignerEdges" />
</Parameters>
<Docs>
<param name="edges">The <see cref="T:System.Workflow.ComponentModel.Design.DesignerEdges" /> on which to query for points.</param>
<summary>Returns a read-only collection of points that the designer uses for connections.</summary>
<returns>A point read-only collection that contains the connections to use for the activity designer.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetPreviewImage">
<MemberSignature Language="C#" Value="public System.Drawing.Image GetPreviewImage (System.Drawing.Graphics compatibleGraphics);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Drawing.Image GetPreviewImage(class System.Drawing.Graphics compatibleGraphics) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.GetPreviewImage(System.Drawing.Graphics)" />
<MemberSignature Language="VB.NET" Value="Public Function GetPreviewImage (compatibleGraphics As Graphics) As Image" />
<MemberSignature Language="F#" Value="member this.GetPreviewImage : System.Drawing.Graphics -> System.Drawing.Image" Usage="activityDesigner.GetPreviewImage compatibleGraphics" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Drawing::Image ^ GetPreviewImage(System::Drawing::Graphics ^ compatibleGraphics);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Image</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="compatibleGraphics" Type="System.Drawing.Graphics" />
</Parameters>
<Docs>
<param name="compatibleGraphics">The <see cref="T:System.Drawing.Graphics" /> object used to draw the image.</param>
<summary>Gets the image of the activity designer on the specified <see cref="T:System.Drawing.Graphics" />.</summary>
<returns>An <see cref="T:System.Drawing.Image" /> object that contains a bitmap used as a preview image in the drag-and-drop operations and in the <see cref="T:System.Workflow.Activities.ConditionedActivityGroup" /> preview pane.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetRootDesigner">
<MemberSignature Language="C#" Value="public static System.Workflow.ComponentModel.Design.ActivityDesigner GetRootDesigner (IServiceProvider serviceProvider);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.Workflow.ComponentModel.Design.ActivityDesigner GetRootDesigner(class System.IServiceProvider serviceProvider) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.GetRootDesigner(System.IServiceProvider)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function GetRootDesigner (serviceProvider As IServiceProvider) As ActivityDesigner" />
<MemberSignature Language="F#" Value="static member GetRootDesigner : IServiceProvider -> System.Workflow.ComponentModel.Design.ActivityDesigner" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.GetRootDesigner serviceProvider" />
<MemberSignature Language="C++ CLI" Value="public:
 static System::Workflow::ComponentModel::Design::ActivityDesigner ^ GetRootDesigner(IServiceProvider ^ serviceProvider);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.ActivityDesigner</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceProvider" Type="System.IServiceProvider" />
</Parameters>
<Docs>
<param name="serviceProvider">An object that implements the <see cref="T:System.IServiceProvider" />.</param>
<summary>Returns the designer associated with the design surface of the workflow.</summary>
<returns>An <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> that is the <see cref="P:System.ComponentModel.Design.IDesignerHost.RootComponent" /> of the designer host.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="GetService">
<MemberSignature Language="C#" Value="protected object GetService (Type serviceType);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance object GetService(class System.Type serviceType) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.GetService(System.Type)" />
<MemberSignature Language="VB.NET" Value="Protected Function GetService (serviceType As Type) As Object" />
<MemberSignature Language="F#" Value="member this.GetService : Type -> obj" Usage="activityDesigner.GetService serviceType" />
<MemberSignature Language="C++ CLI" Value="protected:
 System::Object ^ GetService(Type ^ serviceType);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="serviceType" Type="System.Type" />
</Parameters>
<Docs>
<param name="serviceType">The type of service to request.</param>
<summary>Tries to retrieve the specified type of service from the design mode site for the activity associated with the designer.</summary>
<returns>An object implementing the requested service or a null reference (<see langword="Nothing" /> in Visual Basic) if the service cannot be resolved.</returns>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Glyphs">
<MemberSignature Language="C#" Value="protected internal virtual System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection Glyphs { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection Glyphs" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.Glyphs" />
<MemberSignature Language="VB.NET" Value="Protected Friend Overridable ReadOnly Property Glyphs As ActivityDesignerGlyphCollection" />
<MemberSignature Language="F#" Value="member this.Glyphs : System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.Glyphs" />
<MemberSignature Language="C++ CLI" Value="protected public:
 virtual property System::Workflow::ComponentModel::Design::ActivityDesignerGlyphCollection ^ Glyphs { System::Workflow::ComponentModel::Design::ActivityDesignerGlyphCollection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets a collection of glyphs with which to adorn the designer.</summary>
<value>An <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection" /> that contains the glyphs to display on the designer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Glyphs%2A> to access a read-only list of designer glyphs. These glyphs can be used to graphically represent components of the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> in a graphical environment.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="HitTest">
<MemberSignature Language="C#" Value="public virtual System.Workflow.ComponentModel.Design.HitTestInfo HitTest (System.Drawing.Point point);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Workflow.ComponentModel.Design.HitTestInfo HitTest(valuetype System.Drawing.Point point) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.HitTest(System.Drawing.Point)" />
<MemberSignature Language="VB.NET" Value="Public Overridable Function HitTest (point As Point) As HitTestInfo" />
<MemberSignature Language="F#" Value="abstract member HitTest : System.Drawing.Point -> System.Workflow.ComponentModel.Design.HitTestInfo
override this.HitTest : System.Drawing.Point -> System.Workflow.ComponentModel.Design.HitTestInfo" Usage="activityDesigner.HitTest point" />
<MemberSignature Language="C++ CLI" Value="public:
 virtual System::Workflow::ComponentModel::Design::HitTestInfo ^ HitTest(System::Drawing::Point point);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.HitTestInfo</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="point" Type="System.Drawing.Point" />
</Parameters>
<Docs>
<param name="point">A <see cref="T:System.Drawing.Point" /> that represents a single x and y coordinate.</param>
<summary>Gets information about the ActivityDesigner at a specified point on the screen.</summary>
<returns>A <see cref="T:System.Workflow.ComponentModel.Design.HitTestInfo" /> that contains information about the <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> at a specified point.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Workflow.ComponentModel.Design.HitTestInfo>, together with the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.HitTest%2A> method of the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> control is used to determine which part of an <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> control the user has clicked. The <xref:System.Workflow.ComponentModel.Design.HitTestInfo> contains logical coordinates of the point on the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> where the mouse was clicked.
The <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.HitTest%2A> method receives a <xref:System.Drawing.Point> that contains an x and y coordinate.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Image">
<MemberSignature Language="C#" Value="public virtual System.Drawing.Image Image { get; protected set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Drawing.Image Image" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.Image" />
<MemberSignature Language="VB.NET" Value="Public Overridable Property Image As Image" />
<MemberSignature Language="F#" Value="member this.Image : System.Drawing.Image with get, set" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.Image" />
<MemberSignature Language="C++ CLI" Value="public: virtual property System::Drawing::Image ^ Image { public:
System::Drawing::Image ^ get(); protected:
 void set(System::Drawing::Image ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Image</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the <see cref="T:System.Drawing.Image" /> associated with the designer.</summary>
<value>The <see cref="T:System.Drawing.Image" /> associated with the designer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Image%2A> property is set to the <xref:System.Drawing.Image> to display. You can do this at design time or at run time.
## Examples
The following example demonstrates loading a <xref:System.Drawing.Bitmap> object from an embedded resource. In this case, the `ToolboxImage` is the same Image that is used when the base <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> class draws the custom <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet76":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet76":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="ImageRectangle">
<MemberSignature Language="C#" Value="protected virtual System.Drawing.Rectangle ImageRectangle { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance valuetype System.Drawing.Rectangle ImageRectangle" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.ImageRectangle" />
<MemberSignature Language="VB.NET" Value="Protected Overridable ReadOnly Property ImageRectangle As Rectangle" />
<MemberSignature Language="F#" Value="member this.ImageRectangle : System.Drawing.Rectangle" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.ImageRectangle" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property System::Drawing::Rectangle ImageRectangle { System::Drawing::Rectangle get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Drawing.Rectangle</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the value for the enclosing bounds of the image associated with the designer in logical coordinates.</summary>
<value>A <see cref="T:System.Drawing.Rectangle" /> image.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.ImageRectangle%2A> to retrieve the coordinates for the rectangle that encloses the image associated with the designer. You can use these coordinates for drawing connectors or overlaying graphics.
## Examples
The following example shows how to override the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.ImageRectangle%2A> property. In this example, the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.ImageRectangle%2A> is calculated using the Bounds of the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet74":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet74":::
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Initialize">
<MemberSignature Language="C#" Value="protected virtual void Initialize (System.Workflow.ComponentModel.Activity activity);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig newslot virtual instance void Initialize(class System.Workflow.ComponentModel.Activity activity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Initialize(System.Workflow.ComponentModel.Activity)" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Sub Initialize (activity As Activity)" />
<MemberSignature Language="F#" Value="abstract member Initialize : System.Workflow.ComponentModel.Activity -> unit
override this.Initialize : System.Workflow.ComponentModel.Activity -> unit" Usage="activityDesigner.Initialize activity" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual void Initialize(System::Workflow::ComponentModel::Activity ^ activity);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="activity" Type="System.Workflow.ComponentModel.Activity" />
</Parameters>
<Docs>
<param name="activity">The <see cref="T:System.Workflow.ComponentModel.Activity" /> with which the designer should be initialized.</param>
<summary>Initializes the designer with the associated <see cref="T:System.Workflow.ComponentModel.Activity" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Initialize loads the designer with the Activity specified. The designer loads the Activity service, updates the verbs associated with the activity and assigns the default text and image to the designer.
## Examples
The following example shows how to override the base class implementation of the Initialize method. The <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Initialize%2A> method in this example is loading a <xref:System.Drawing.Bitmap> object from an embedded resource. The `ToolboxImage` resource is the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.Image%2A> that is used when the base <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> class draws the custom <xref:System.Workflow.ComponentModel.Design.ActivityDesigner>.
:::code language="csharp" source="~/snippets/csharp/VS_Snippets_CFX/wf_samples/cs/snippets.cs" id="Snippet76":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets.vb" id="Snippet76":::
]]></format>
</remarks>
</Docs>
</Member>
<MemberGroup MemberName="Invalidate">
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Docs>
<summary>Invalidates the designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use Invalidate to cause the designer to be repainted.
]]></format>
</remarks>
</Docs>
</MemberGroup>
<Member MemberName="Invalidate">
<MemberSignature Language="C#" Value="public void Invalidate ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Invalidate() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Invalidate" />
<MemberSignature Language="VB.NET" Value="Public Sub Invalidate ()" />
<MemberSignature Language="F#" Value="member this.Invalidate : unit -> unit" Usage="activityDesigner.Invalidate " />
<MemberSignature Language="C++ CLI" Value="public:
 void Invalidate();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Invalidates the designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use Invalidate to cause designer to be repainted.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="Invalidate">
<MemberSignature Language="C#" Value="public void Invalidate (System.Drawing.Rectangle rectangle);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig instance void Invalidate(valuetype System.Drawing.Rectangle rectangle) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.Invalidate(System.Drawing.Rectangle)" />
<MemberSignature Language="VB.NET" Value="Public Sub Invalidate (rectangle As Rectangle)" />
<MemberSignature Language="F#" Value="member this.Invalidate : System.Drawing.Rectangle -> unit" Usage="activityDesigner.Invalidate rectangle" />
<MemberSignature Language="C++ CLI" Value="public:
 void Invalidate(System::Drawing::Rectangle rectangle);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="rectangle" Type="System.Drawing.Rectangle" />
</Parameters>
<Docs>
<param name="rectangle">A <see cref="T:System.Drawing.Rectangle" /> that specifies the area on the workflow to invalidate.</param>
<summary>Invalidates the specified rectangle on the designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Use Invalidate to cause the specified rectangle on the designer to be repainted.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="InvokingDesigner">
<MemberSignature Language="C#" Value="protected virtual System.Workflow.ComponentModel.Design.CompositeActivityDesigner InvokingDesigner { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Workflow.ComponentModel.Design.CompositeActivityDesigner InvokingDesigner" />
<MemberSignature Language="DocId" Value="P:System.Workflow.ComponentModel.Design.ActivityDesigner.InvokingDesigner" />
<MemberSignature Language="VB.NET" Value="Protected Overridable Property InvokingDesigner As CompositeActivityDesigner" />
<MemberSignature Language="F#" Value="member this.InvokingDesigner : System.Workflow.ComponentModel.Design.CompositeActivityDesigner with get, set" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.InvokingDesigner" />
<MemberSignature Language="C++ CLI" Value="protected:
 virtual property System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ InvokingDesigner { System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ get(); void set(System::Workflow::ComponentModel::Design::CompositeActivityDesigner ^ value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Workflow.ComponentModel.Design.CompositeActivityDesigner</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the designer of the activity that invokes the activity associated with the current activity designer.</summary>
<value>The <see cref="T:System.Workflow.ComponentModel.Design.CompositeActivityDesigner" /> to invoke the current activity designer.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Unless overridden in a derived class, the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner.InvokingDesigner%2A> get operation returns a null reference (`Nothing` in Visual Basic) and the set operation throws a <xref:System.NotSupportedException>.
]]></format>
</remarks>
<exception cref="T:System.NotSupportedException">A set operation was attempted on <see cref="P:System.Workflow.ComponentModel.Design.ActivityDesigner.InvokingDesigner" />.</exception>
</Docs>
</Member>
<Member MemberName="IsCommentedActivity">
<MemberSignature Language="C#" Value="public static bool IsCommentedActivity (System.Workflow.ComponentModel.Activity activity);" />
<MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsCommentedActivity(class System.Workflow.ComponentModel.Activity activity) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.ActivityDesigner.IsCommentedActivity(System.Workflow.ComponentModel.Activity)" />
<MemberSignature Language="VB.NET" Value="Public Shared Function IsCommentedActivity (activity As Activity) As Boolean" />
<MemberSignature Language="F#" Value="static member IsCommentedActivity : System.Workflow.ComponentModel.Activity -> bool" Usage="System.Workflow.ComponentModel.Design.ActivityDesigner.IsCommentedActivity activity" />
<MemberSignature Language="C++ CLI" Value="public:
 static bool IsCommentedActivity(System::Workflow::ComponentModel::Activity ^ activity);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="activity" Type="System.Workflow.ComponentModel.Activity" />
</Parameters>
<Docs>
<param name="activity">The <see cref="T:System.Workflow.ComponentModel.Activity" /> in the current activity designer.</param>
<summary>Returns a value that indicates whether the current designer's activity is commented or is inside a commented activity.</summary>
<returns>
<see langword="true" /> if the activity is commented or is inside a commented activity; otherwise, <see langword="false" />.</returns>