-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
NamedImagesCollection.xml
37 lines (32 loc) · 3.62 KB
/
NamedImagesCollection.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
<Type Name="NamedImagesCollection" FullName="System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection">
<TypeSignature Language="C#" Value="public class NamedImagesCollection : System.Windows.Forms.DataVisualization.Charting.ChartNamedElementCollection<System.Windows.Forms.DataVisualization.Charting.NamedImage>" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit NamedImagesCollection extends System.Windows.Forms.DataVisualization.Charting.ChartNamedElementCollection`1<class System.Windows.Forms.DataVisualization.Charting.NamedImage>" />
<TypeSignature Language="DocId" Value="T:System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection" />
<TypeSignature Language="VB.NET" Value="Public Class NamedImagesCollection
Inherits ChartNamedElementCollection(Of NamedImage)" />
<TypeSignature Language="F#" Value="type NamedImagesCollection = class
 inherit ChartNamedElementCollection<NamedImage>" />
<TypeSignature Language="C++ CLI" Value="public ref class NamedImagesCollection : System::Windows::Forms::DataVisualization::Charting::ChartNamedElementCollection<System::Windows::Forms::DataVisualization::Charting::NamedImage ^>" />
<AssemblyInfo>
<AssemblyName>System.Windows.Forms.DataVisualization</AssemblyName>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Windows.Forms.DataVisualization.Charting.ChartNamedElementCollection<System.Windows.Forms.DataVisualization.Charting.NamedImage></BaseTypeName>
<BaseTypeArguments>
<BaseTypeArgument TypeParamName="T">System.Windows.Forms.DataVisualization.Charting.NamedImage</BaseTypeArgument>
</BaseTypeArguments>
</Base>
<Interfaces />
<Docs>
<summary>Represents a collection of <see cref="T:System.Windows.Forms.DataVisualization.Charting.NamedImage" /> objects.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection> class represents a collection of <xref:System.Windows.Forms.DataVisualization.Charting.NamedImage> objects, which are objects that have an associated image and a name that is unique to the collection.
This class is exposed as the <xref:System.Windows.Forms.DataVisualization.Charting.Chart.Images%2A> collection property of the root <xref:System.Windows.Forms.DataVisualization.Charting.Chart> object, and is only available at run time.
An image can be any object derived from the .NET Framework <xref:System.Drawing.Image> class, such as <xref:System.Drawing.Bitmap>, which is created dynamically. The image can be stored in this collection, and then assigned at a later time to any image property in the <xref:System.Windows.Forms.DataVisualization.Charting.Chart> control, such as <xref:System.Windows.Forms.DataVisualization.Charting.Chart.BackImage%2A>.
When one of the image properties in the <xref:System.Windows.Forms.DataVisualization.Charting.Chart> control is set by specifying a `string` value, the <xref:System.Windows.Forms.DataVisualization.Charting.Chart.Images%2A> collection property, of type <xref:System.Windows.Forms.DataVisualization.Charting.NamedImagesCollection>, is first checked to see if an image with that name exists. If a matching <xref:System.Windows.Forms.DataVisualization.Charting.NamedImage> object is found, this image is used. If a matching <xref:System.Windows.Forms.DataVisualization.Charting.NamedImage> object is not located, the string expression is treated as a URL, image resource name or pathname.
]]></format>
</remarks>
</Docs>
<Members />
</Type>