Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GradientStopList Class
Members


In This Topic
    GradientStopList Class
    In This Topic
    Specialization of the CollectionBase class representing a list of GradientStop objects.
    Object Model
    GradientStopList ClassGradientStop Class
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <EditorAttribute("Xceed.Grid.Design.GradientStopsUIEditor,Xceed.Grid.v4.3.Design,Version=4.3.25455.6282,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
    Public Class GradientStopList 
       Inherits System.Collections.CollectionBase
    'Usage
     
    Dim instance As GradientStopList
    [DefaultMember("Item")]
    [Editor("Xceed.Grid.Design.GradientStopsUIEditor,Xceed.Grid.v4.3.Design,Version=4.3.25455.6282,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
    public class GradientStopList : System.Collections.CollectionBase 
    Inheritance Hierarchy

    System.Object
       System.Collections.CollectionBase
          Xceed.Grid.GradientStopList

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the GradientStopList class.  
    Top
    Public Properties
     NameDescription
    Public Property (Inherited from System.Collections.CollectionBase)
    Public Property (Inherited from System.Collections.CollectionBase)
    Public PropertyGets the GradientStop at the specified index.  
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from System.Collections.CollectionBase)
    Protected Property (Inherited from System.Collections.CollectionBase)
    Top
    Public Methods
     NameDescription
    Public MethodAdds a gradientStop to the GradientStopList. GradientStops must be added sequentially in the order of their offsets. Adding a GradientStop whose offset is less than the offset of the last GradientStop added to the collection will cause an ArgumentOutOfRangeException to be thrown.  
    Public Method (Inherited from System.Collections.CollectionBase)
    Public MethodRetrieves a boolean value indicating whether a specific gradientStop object exists in the collection.  
    Public MethodDetermines whether the specified object is equal to the current GradientStop.  
    Public Method (Inherited from System.Collections.CollectionBase)
    Public MethodServes as a hash function for the GradientStop, suitable for use in hashing algorithms and data structures such as a hash table.  
    Public MethodReturns the offsets in the gradient map and their corresponding colors.  
    Public MethodSearches for the specified GradientStop object and returns the zero-based index of the occurrence within the collection.  
    Public MethodRemoves the specified gradientStop object from the collection.  
    Public Method (Inherited from System.Collections.CollectionBase)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected MethodOverridden. Performs additional custom processes before inserting a new item into the GradientStopList.  
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Protected Method (Inherited from System.Collections.CollectionBase)
    Top
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also