Class LayerCollection
Inheritance
LayerCollection
Assembly: Mapsui.dll
Syntax
public class LayerCollection : IEnumerable<ILayer>, IEnumerable
Properties
|
Edit this page
View Source
Count
Declaration
public int Count { get; }
Property Value
|
Edit this page
View Source
IsReadOnly
Declaration
public bool IsReadOnly { get; }
Property Value
|
Edit this page
View Source
this[int]
Declaration
public ILayer this[int index] { get; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
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
|
Edit this page
View Source
Contains(ILayer)
Declaration
public bool Contains(ILayer item)
Parameters
Type |
Name |
Description |
ILayer |
item |
|
Returns
|
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
|
Edit this page
View Source
GetEnumerator()
Declaration
public IEnumerator<ILayer> GetEnumerator()
Returns
|
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
|
Edit this page
View Source
Modify(Func<ILayer, bool>, IEnumerable<ILayer>)
Declaration
public void Modify(Func<ILayer, bool> removePredicate, IEnumerable<ILayer> layersToAdd)
Parameters
|
Edit this page
View Source
Move(int, ILayer)
Declaration
public void Move(int index, ILayer layer)
Parameters
|
Edit this page
View Source
Remove(params ILayer[])
Declaration
public bool Remove(params ILayer[] layers)
Parameters
Type |
Name |
Description |
ILayer[] |
layers |
|
Returns
|
Edit this page
View Source
Remove(Func<ILayer, bool>)
Declaration
public bool Remove(Func<ILayer, bool> predicate)
Parameters
Returns
Events
|
Edit this page
View Source
Changed
Declaration
public event LayerCollection.LayerCollectionChangedEventHandler? Changed
Event Type
|
Edit this page
View Source
LayerAdded
Declaration
public event LayerCollection.LayerAddedEventHandler? LayerAdded
Event Type
|
Edit this page
View Source
LayerMoved
Declaration
public event LayerCollection.LayerMovedEventHandler? LayerMoved
Event Type
|
Edit this page
View Source
LayerRemoved
Declaration
public event LayerCollection.LayerRemovedEventHandler? LayerRemoved
Event Type
Implements
Extension Methods