ClassUILayerStack
Represents the stack of UI layers.
Definition
Namespace:Telerik.Windows.Controls.SyntaxEditor.UI.Layers
Assembly:Telerik.Windows.Controls.SyntaxEditor.dll
Syntax:
[SuppressMessage("Microsoft.Naming", "CA1710:IdentifiersShouldHaveCorrectSuffix")]
[SuppressMessage("Microsoft.Naming", "CA1711:IdentifiersShouldNotHaveIncorrectSuffix")]
public class UILayerStack : ICollection<UILayer>, IEnumerable<UILayer>, IEnumerable
Inheritance: objectUILayerStack
Implements:
Constructors
UILayerStack()
Initializes a new instance of the UILayerStack class.
Declaration
public UILayerStack()
Properties
Count
Gets the number of elements contained in the ICollection<T>.
IsReadOnly
Gets a value indicating whether the ICollection<T> is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
true if this instance is read only; otherwise, false.
Implements
Methods
AddAfter(string, UILayer)
Adds the after.
AddBefore(string, UILayer)
Adds the before.
AddFirst(UILayer)
Adds the first.
Declaration
public void AddFirst(UILayer layer)
Parameters
layer
The layer.
AddLast(UILayer)
Adds the last.
Declaration
public void AddLast(UILayer layer)
Parameters
layer
The layer.
Clear()
Removes all items from the ICollection<T>.
Declaration
public void Clear()
Implements
ClearLayersChildren()
Clears the layers children.
Declaration
public void ClearLayersChildren()
Contains(UILayer)
Determines whether this instance contains the object.
Contains(string)
Determines whether this instance contains the object.
CopyTo(UILayer[], int)
Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Declaration
public void CopyTo(UILayer[] array, int arrayIndex)
Parameters
array
UILayer[]
The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.
arrayIndex
The zero-based index in array at which copying begins.
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<UILayer> GetEnumerator()
Returns
A IEnumerator<T> that can be used to iterate through the collection.
Implements
GetLayerByName(string)
Gets the name of the layer by.
Remove(UILayer)
Removes the specified layer.
Remove(string)
Removes the specified layer name.
UpdateUI(UIUpdateContext)
Updates the UI.
Declaration
public void UpdateUI(UIUpdateContext updateContext)
Parameters
updateContext
The update context.