skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class UILayerStack

Represents the stack of UI layers.

Inheritance
System.Object
UILayerStack
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinForms.Controls.SyntaxEditor.UI.Layers
Assembly: Telerik.WinControls.SyntaxEditor.dll

Syntax

public class UILayerStack : ICollection<UILayer>, IEnumerable<UILayer>, IEnumerable

Constructors

UILayerStack()

Initializes a new instance of the UILayerStack class.

Declaration
public 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
System.Collections.Generic.ICollection<T>.Count

IsReadOnly

Gets a value indicating whether the System.Collections.Generic.ICollection<T> is read-only.

Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean

true if this instance is read only; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.IsReadOnly

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

true if XXXX, false otherwise.

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

true if XXXX, false otherwise.

AddFirst(UILayer)

Adds the first.

Declaration
public void AddFirst(UILayer layer)
Parameters
UILayer layer

The layer.

AddLast(UILayer)

Adds the last.

Declaration
public void AddLast(UILayer layer)
Parameters
UILayer layer

The layer.

Clear()

Removes all items from the System.Collections.Generic.ICollection<T>.

Declaration
public void Clear()
Implements
System.Collections.Generic.ICollection<T>.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.String layerName

Name of the layer.

Returns
System.Boolean

true if [contains] [the specified layer name]; otherwise, false.

Contains(UILayer)

Determines whether this instance contains the object.

Declaration
public bool Contains(UILayer item)
Parameters
UILayer item

The layer.

Returns
System.Boolean

true if [contains] [the specified layer]; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

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 array at which copying begins.

Implements
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

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
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

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

true if XXXX, false otherwise.

Remove(UILayer)

Removes the specified layer.

Declaration
public bool Remove(UILayer item)
Parameters
UILayer item

The layer.

Returns
System.Boolean

true if XXXX, false otherwise.

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

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
System.Collections.Generic.ICollection<T>.Add(T)

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.

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.