ClassUILayerStack
Represents the stack of UI layers.
Definition
Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI.Layers
Assembly:Telerik.WinControls.SyntaxEditor.dll
Syntax:
public class UILayerStack : 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.
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.
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)
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.
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<UILayer> GetEnumerator()
Returns
IEnumerator<UILayer>
A IEnumerator<T> that can be used to iterate through the collection.
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.