UILayerStack
Represents a stack of UI layers that can be used to manage the rendering order and visibility of UI components.
Definition
Namespace:Telerik.Windows.Documents.UI.Layers
Assembly:Telerik.Windows.Controls.RichTextBox.dll
Syntax:
public class UILayerStack : ICollection<IUILayer>, IEnumerable<IUILayer>, IEnumerable
Inheritance: objectUILayerStack
Implements:
Constructors
public UILayerStack()
Properties
Gets a value indicating whether the layer stack is read-only.
public bool IsReadOnly { get; }
Implements:
Methods
Adds a specified UI layer after a given layer identified by its name.
Adds a specified UI layer before an existing layer in the UILayerStack.
public bool AddBefore(string presentedLayerName, IUILayer layer)
The name of the existing layer before which the new layer will be added.
layerIUILayerThe new UI layer to be added to the stack.
Returns:Returns true if the layer was successfully added; otherwise, false.
Adds a new UI layer to the beginning of the layer stack.
public void AddFirst(IUILayer layer)
The UI layer to be added to the stack.
Adds a new layer to the end of the layer stack.
public void AddLast(IUILayer layer)
The UI layer to be added to the stack.
Clears all layers from the UILayerStack, removing any elements currently present.
public void Clear()
Implements:
Copies the elements of the UILayerStack to a specified array, starting at a particular index.
Retrieves an enumerator that iterates through the elements of the UILayerStack.
public IEnumerator<IUILayer> GetEnumerator()
An enumerator that provides access to the elements in the UILayerStack.
Implements: