GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoImage Class / Index Property
In This Topic
    Index Property (GoImage)
    In This Topic
    Gets or sets the index of the image in an ImageList.
    Syntax
    [Category("Appearance")]
    [DefaultValue(-1)]
    [Description("The index of the image in an ImageList.")]
    public virtual int Index {get; set;}

    Property Value

    This zero-based value is an index into an ImageList. The default value is -1, indicating no image in any ImageList.
    Remarks
    If this value is non-negative, the image will come from the ImageList value, assuming it is within the bounds of the ImageList's collection of Images. If this value is non-negative but ImageList is null, this object will try to draw using the view's ImageList, GoView.ImageList, if any.
    See Also