Show / Hide Table of Contents

    Class LayerCollection

    Inheritance
    System.Object
    LayerCollection
    Implements
    System.Collections.Generic.IEnumerable<ILayer>
    System.Collections.IEnumerable
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Mapsui.Layers
    Assembly: Mapsui.dll
    Syntax
    public class LayerCollection : IEnumerable<ILayer>, IEnumerable

    Properties

    | Improve this Doc View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Item[Int32]

    Declaration
    public ILayer this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    ILayer

    Methods

    | Improve this Doc View Source

    Add(ILayer)

    Declaration
    public void Add(ILayer layer)
    Parameters
    Type Name Description
    ILayer layer
    | Improve this Doc View Source

    Clear()

    Declaration
    public void Clear()
    | Improve this Doc View Source

    Contains(ILayer)

    Declaration
    public bool Contains(ILayer item)
    Parameters
    Type Name Description
    ILayer item
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    CopyTo(ILayer[], Int32)

    Declaration
    public void CopyTo(ILayer[] array, int arrayIndex)
    Parameters
    Type Name Description
    ILayer[] array
    System.Int32 arrayIndex
    | Improve this Doc View Source

    FindLayer(String)

    Declaration
    public IEnumerable<ILayer> FindLayer(string layername)
    Parameters
    Type Name Description
    System.String layername
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ILayer>
    | Improve this Doc View Source

    GetEnumerator()

    Declaration
    public IEnumerator<ILayer> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<ILayer>
    | Improve this Doc View Source

    Insert(Int32, ILayer)

    Declaration
    public void Insert(int index, ILayer layer)
    Parameters
    Type Name Description
    System.Int32 index
    ILayer layer
    | Improve this Doc View Source

    Move(Int32, ILayer)

    Declaration
    public void Move(int index, ILayer layer)
    Parameters
    Type Name Description
    System.Int32 index
    ILayer layer
    | Improve this Doc View Source

    Remove(ILayer)

    Declaration
    public bool Remove(ILayer layer)
    Parameters
    Type Name Description
    ILayer layer
    Returns
    Type Description
    System.Boolean

    Events

    | Improve this Doc View Source

    LayerAdded

    Declaration
    public event LayerCollection.LayerAddedEventHandler LayerAdded
    Event Type
    Type Description
    LayerCollection.LayerAddedEventHandler
    | Improve this Doc View Source

    LayerMoved

    Declaration
    public event LayerCollection.LayerMovedEventHandler LayerMoved
    Event Type
    Type Description
    LayerCollection.LayerMovedEventHandler
    | Improve this Doc View Source

    LayerRemoved

    Declaration
    public event LayerCollection.LayerRemovedEventHandler LayerRemoved
    Event Type
    Type Description
    LayerCollection.LayerRemovedEventHandler

    Explicit Interface Implementations

    | Improve this Doc View Source

    IEnumerable.GetEnumerator()

    Declaration
    IEnumerator IEnumerable.GetEnumerator()
    Returns
    Type Description
    System.Collections.IEnumerator

    Implements

    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX