Search Results for

    Show / Hide Table of Contents

    Class LayerCollection

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

    Properties

    | Edit this page View Source

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    IsReadOnly

    Declaration
    public bool IsReadOnly { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    this[int]

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

    Methods

    | Edit this page View Source

    Add(params ILayer[])

    Declaration
    public void Add(params ILayer[] layers)
    Parameters
    Type Name Description
    ILayer[] layers
    | Edit this page View Source

    Clear()

    Declaration
    public void Clear()
    | Edit this page View Source

    Contains(ILayer)

    Declaration
    public bool Contains(ILayer item)
    Parameters
    Type Name Description
    ILayer item
    Returns
    Type Description
    bool
    | Edit this page View Source

    CopyTo(ILayer[], int)

    Declaration
    public void CopyTo(ILayer[] array, int arrayIndex)
    Parameters
    Type Name Description
    ILayer[] array
    int arrayIndex
    | Edit this page View Source

    FindLayer(string)

    Declaration
    public IEnumerable<ILayer> FindLayer(string layername)
    Parameters
    Type Name Description
    string layername
    Returns
    Type Description
    IEnumerable<ILayer>
    | Edit this page View Source

    GetEnumerator()

    Declaration
    public IEnumerator<ILayer> GetEnumerator()
    Returns
    Type Description
    IEnumerator<ILayer>
    | Edit this page View Source

    Insert(int, params ILayer[])

    Declaration
    public void Insert(int index, params ILayer[] layers)
    Parameters
    Type Name Description
    int index
    ILayer[] layers
    | Edit this page View Source

    Modify(IEnumerable<ILayer>, IEnumerable<ILayer>)

    Declaration
    public void Modify(IEnumerable<ILayer> layersToRemove, IEnumerable<ILayer> layersToAdd)
    Parameters
    Type Name Description
    IEnumerable<ILayer> layersToRemove
    IEnumerable<ILayer> layersToAdd
    | Edit this page View Source

    Modify(Func<ILayer, bool>, IEnumerable<ILayer>)

    Declaration
    public void Modify(Func<ILayer, bool> removePredicate, IEnumerable<ILayer> layersToAdd)
    Parameters
    Type Name Description
    Func<ILayer, bool> removePredicate
    IEnumerable<ILayer> layersToAdd
    | Edit this page View Source

    Move(int, ILayer)

    Declaration
    public void Move(int index, ILayer layer)
    Parameters
    Type Name Description
    int index
    ILayer layer
    | Edit this page View Source

    Remove(params ILayer[])

    Declaration
    public bool Remove(params ILayer[] layers)
    Parameters
    Type Name Description
    ILayer[] layers
    Returns
    Type Description
    bool
    | Edit this page View Source

    Remove(Func<ILayer, bool>)

    Declaration
    public bool Remove(Func<ILayer, bool> predicate)
    Parameters
    Type Name Description
    Func<ILayer, bool> predicate
    Returns
    Type Description
    bool

    Events

    | Edit this page View Source

    Changed

    Declaration
    public event LayerCollection.LayerCollectionChangedEventHandler? Changed
    Event Type
    Type Description
    LayerCollection.LayerCollectionChangedEventHandler
    | Edit this page View Source

    LayerAdded

    Declaration
    public event LayerCollection.LayerAddedEventHandler? LayerAdded
    Event Type
    Type Description
    LayerCollection.LayerAddedEventHandler
    | Edit this page View Source

    LayerMoved

    Declaration
    public event LayerCollection.LayerMovedEventHandler? LayerMoved
    Event Type
    Type Description
    LayerCollection.LayerMovedEventHandler
    | Edit this page View Source

    LayerRemoved

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

    Implements

    IEnumerable<T>
    IEnumerable

    Extension Methods

    EnumerableLayerExtensions.WaitForLoadingAsync(IEnumerable<ILayer>)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX