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

UILayer

Class

UI Layer abstraction.

Definition

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

Assembly:Telerik.WinControls.SyntaxEditor.dll

Syntax:

C#
public abstract class UILayer

Inheritance: objectUILayer

Derived Classes: PooledUILayer

Constructors

Initializes a new instance of the UILayer class.

C#
protected UILayer()

Properties

Gets the associated editor.

C#
protected RadSyntaxEditorElement AssociatedEditor { get; }
Property Value:

The associated editor.

Gets the container.

C#
public Canvas Container { get; }
Property Value:

The container.

Gets the name.

C#
public abstract string Name { get; }
Property Value:

The name.

Methods

Clears this instance.

C#
public virtual void Clear()

Called when [associated editor changed].

C#
protected virtual void OnAssociatedEditorChanged(RadSyntaxEditorElement oldEditor, RadSyntaxEditorElement newEditor)
Parameters:oldEditorRadSyntaxEditorElement

The old editor.

newEditorRadSyntaxEditorElement

The new editor.

Translates the and scale.

C#
protected virtual void TranslateAndScale(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext

The update context.

Updates the UI.

C#
public bool UpdateUI()
Returns:

bool

true if XXXX, false otherwise.

Updates the UI.

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

The update context.

Updates the UI override.

C#
protected virtual void UpdateUIOverride(UIUpdateContext updateContext)
Parameters:updateContextUIUpdateContext

The update context.