Class UILayerStack
Represents the stack of UI layers.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.Controls.SyntaxEditor.UI.Layers
Assembly: Telerik.WinControls.SyntaxEditor.dll
Syntax
public class UILayerStack : ICollection<UILayer>, IEnumerable<UILayer>, IEnumerable
Constructors
UILayerStack()
Properties
Count
Gets the number of elements contained in the System.Collections.Generic.ICollection<T>.
Declaration
public int Count { get; }
Property Value
|
System.Int32
The count. |
Implements
IsReadOnly
Gets a value indicating whether the System.Collections.Generic.ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
|
System.Boolean
|
Implements
Methods
AddAfter(String, UILayer)
Adds the after.
Declaration
public bool AddAfter(string presentedLayerName, UILayer layer)
Parameters
|
System.String
presentedLayerName
Name of the presented layer. |
|
UILayer
layer
The layer. |
Returns
|
System.Boolean
|
AddBefore(String, UILayer)
Adds the before.
Declaration
public bool AddBefore(string presentedLayerName, UILayer layer)
Parameters
|
System.String
presentedLayerName
Name of the presented layer. |
|
UILayer
layer
The layer. |
Returns
|
System.Boolean
|
AddFirst(UILayer)
AddLast(UILayer)
Clear()
Removes all items from the System.Collections.Generic.ICollection<T>.
Declaration
public void Clear()
Implements
ClearLayersChildren()
Clears the layers children.
Declaration
public void ClearLayersChildren()
Contains(String)
Determines whether this instance contains the object.
Declaration
public bool Contains(string layerName)
Parameters
|
System.String
layerName
Name of the layer. |
Returns
|
System.Boolean
|
Contains(UILayer)
Determines whether this instance contains the object.
Declaration
public bool Contains(UILayer item)
Parameters
|
UILayer
item
The layer. |
Returns
|
System.Boolean
|
Implements
CopyTo(UILayer[], Int32)
Copies the elements of the System.Collections.Generic.ICollection<T> to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(UILayer[] array, int arrayIndex)
Parameters
|
UILayer[]
array
The one-dimensional System.Array that is the destination of the elements copied from System.Collections.Generic.ICollection<T>. The System.Array must have zero-based indexing. |
|
System.Int32
arrayIndex
The zero-based index in |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<UILayer> GetEnumerator()
Returns
|
System.Collections.Generic.IEnumerator<UILayer>
A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Implements
GetLayerByName(String)
Gets the name of the layer by.
Declaration
public UILayer GetLayerByName(string layerName)
Parameters
|
System.String
layerName
Name of the layer. |
Returns
|
UILayer
UILayer. |
Remove(String)
Removes the specified layer name.
Declaration
public bool Remove(string layerName)
Parameters
|
System.String
layerName
Name of the layer. |
Returns
|
System.Boolean
|
Remove(UILayer)
Removes the specified layer.
Declaration
public bool Remove(UILayer item)
Parameters
|
UILayer
item
The layer. |
Returns
|
System.Boolean
|
Implements
UpdateUI()
Updates the UI.
Declaration
public void UpdateUI()
UpdateUI(UIUpdateContext)
Updates the UI.
Declaration
public void UpdateUI(UIUpdateContext updateContext)
Parameters
|
UIUpdateContext
updateContext
The update context. |
Explicit Interface Implementations
ICollection<UILayer>.Add(UILayer)
Adds the specified layer.
Declaration
void ICollection<UILayer>.Add(UILayer layer)
Parameters
|
UILayer
layer
The layer. |
Implements
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
|
System.Collections.IEnumerator
An System.Collections.IEnumerator object that can be used to iterate through the collection. |