New to Telerik UI for WinFormsStart a free 30-day trial

Represents the stack of UI layers.

Definition

Namespace:Telerik.WinForms.Controls.SyntaxEditor.UI.Layers

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public class UILayerStack : IEnumerable

Inheritance: objectUILayerStack

Implements: IEnumerable

Constructors

Initializes a new instance of the UILayerStack class.

C#
public UILayerStack()

Properties

Gets the number of elements contained in the ICollection<T>.

C#
public int Count { get; }
Property Value:

The count.

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

C#
public bool IsReadOnly { get; }
Property Value:

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

Methods

Adds the after.

C#
public bool AddAfter(string presentedLayerName, UILayer layer)
Parameters:presentedLayerNamestring

Name of the presented layer.

layerUILayer

The layer.

Returns:

bool

true if XXXX, false otherwise.

Adds the before.

C#
public bool AddBefore(string presentedLayerName, UILayer layer)
Parameters:presentedLayerNamestring

Name of the presented layer.

layerUILayer

The layer.

Returns:

bool

true if XXXX, false otherwise.

Adds the first.

C#
public void AddFirst(UILayer layer)
Parameters:layerUILayer

The layer.

Adds the last.

C#
public void AddLast(UILayer layer)
Parameters:layerUILayer

The layer.

Removes all items from the ICollection<T>.

C#
public void Clear()

Clears the layers children.

C#
public void ClearLayersChildren()

Determines whether this instance contains the object.

C#
public bool Contains(string layerName)
Parameters:layerNamestring

Name of the layer.

Returns:

bool

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

Determines whether this instance contains the object.

C#
public bool Contains(UILayer item)
Parameters:itemUILayer

The layer.

Returns:

bool

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

Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.

C#
public void CopyTo(UILayer[] array, int arrayIndex)
Parameters:arrayUILayer[]

The one-dimensional Array that is the destination of the elements copied from ICollection<T>. The Array must have zero-based indexing.

arrayIndexint

The zero-based index in array at which copying begins.

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<UILayer> GetEnumerator()
Returns:

IEnumerator<UILayer>

A IEnumerator<T> that can be used to iterate through the collection.

Gets the name of the layer by.

C#
public UILayer GetLayerByName(string layerName)
Parameters:layerNamestring

Name of the layer.

Returns:

UILayer

UILayer.

Removes the specified layer name.

C#
public bool Remove(string layerName)
Parameters:layerNamestring

Name of the layer.

Returns:

bool

true if XXXX, false otherwise.

Removes the specified layer.

C#
public bool Remove(UILayer item)
Parameters:itemUILayer

The layer.

Returns:

bool

true if XXXX, false otherwise.

Updates the UI.

C#
public void UpdateUI()

Updates the UI.

C#
public void UpdateUI(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext

The update context.