/
IDesignerGlyphProvider.xml
87 lines (74 loc) · 6.42 KB
/
IDesignerGlyphProvider.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
<Type Name="IDesignerGlyphProvider" FullName="System.Workflow.ComponentModel.Design.IDesignerGlyphProvider">
<TypeSignature Language="C#" Value="public interface IDesignerGlyphProvider" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract IDesignerGlyphProvider" />
<TypeSignature Language="DocId" Value="T:System.Workflow.ComponentModel.Design.IDesignerGlyphProvider" />
<TypeSignature Language="VB.NET" Value="Public Interface IDesignerGlyphProvider" />
<TypeSignature Language="F#" Value="type IDesignerGlyphProvider = interface" />
<TypeSignature Language="C++ CLI" Value="public interface class IDesignerGlyphProvider" />
<AssemblyInfo>
<AssemblyName>System.Workflow.ComponentModel</AssemblyName>
<AssemblyVersion>3.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces />
<Attributes>
<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>Defines the method that glyph provider classes use to generate an array of glyphs to display on an activity designer.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
> [!NOTE]
> [!INCLUDE[DeprecatedContent](~/includes/deprecatedcontent-md.md)]
This interface defines the method that implementing classes must use to provide an appropriate set of <xref:System.Workflow.ComponentModel.Design.DesignerGlyph> objects to activity designers. The implementing class should also render the <xref:System.Workflow.ComponentModel.Design.DesignerGlyph> objects onto the <xref:System.Workflow.ComponentModel.Design.ActivityDesigner> object.
## Examples
The following code example demonstrates how you can implement the <xref:System.Workflow.ComponentModel.Design.IDesignerGlyphProvider> interface. It shows how you can implement the <xref:System.Workflow.ComponentModel.Design.IDesignerGlyphProvider.GetGlyphs%2A> method to draw custom glyph objects on an activity designer surface.
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="Snippet130":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet130":::
]]></format>
</remarks>
<related type="Article" href="https://learn.microsoft.com/previous-versions/dotnet/netframework-3.5/ms741706(v=vs.90)">Workflow Monitor</related>
</Docs>
<Members>
<Member MemberName="GetGlyphs">
<MemberSignature Language="C#" Value="public System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection GetGlyphs (System.Workflow.ComponentModel.Design.ActivityDesigner activityDesigner);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection GetGlyphs(class System.Workflow.ComponentModel.Design.ActivityDesigner activityDesigner) cil managed" />
<MemberSignature Language="DocId" Value="M:System.Workflow.ComponentModel.Design.IDesignerGlyphProvider.GetGlyphs(System.Workflow.ComponentModel.Design.ActivityDesigner)" />
<MemberSignature Language="VB.NET" Value="Public Function GetGlyphs (activityDesigner As ActivityDesigner) As ActivityDesignerGlyphCollection" />
<MemberSignature Language="F#" Value="abstract member GetGlyphs : System.Workflow.ComponentModel.Design.ActivityDesigner -> System.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection" Usage="iDesignerGlyphProvider.GetGlyphs activityDesigner" />
<MemberSignature Language="C++ CLI" Value="public:
 System::Workflow::ComponentModel::Design::ActivityDesignerGlyphCollection ^ GetGlyphs(System::Workflow::ComponentModel::Design::ActivityDesigner ^ 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.Workflow.ComponentModel.Design.ActivityDesignerGlyphCollection</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="activityDesigner" Type="System.Workflow.ComponentModel.Design.ActivityDesigner" />
</Parameters>
<Docs>
<param name="activityDesigner">The <see cref="T:System.Workflow.ComponentModel.Design.ActivityDesigner" /> object for which to retrieve the glyphs.</param>
<summary>Returns an array of glyphs that are associated with the specified activity designer.</summary>
<returns>An array of <see cref="T:System.Workflow.ComponentModel.Design.DesignerGlyph" /> objects to render to the activity designer.</returns>
<remarks>
<format type="text/markdown"><![CDATA[
## Examples
The following code example demonstrates how you can implement the <xref:System.Workflow.ComponentModel.Design.IDesignerGlyphProvider.GetGlyphs%2A> method to draw custom glyph objects on an activity designer surface.
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="Snippet130":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_CFX/wf_samples/vb/snippets1.vb" id="Snippet130":::
]]></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>
</Members>
</Type>