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