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
    • Functional UI Testing
    • RESTful API Testing
    • Load Testing
    • Remote Test Execution
    • Agile Teams
    • Web Test Automation
    • Desktop Test Automation
    • Responsive UI Testing
    • Continuous Testing
  • Training
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
    • Trust Center
    • FAQs
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Request a demo Try now

Class ElementNode

Inheritance
System.Object
ElementNode
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common.Design.ProjectModel
Assembly: ArtOfTest.WebAii.Design.dll

Syntax

public class ElementNode

Constructors

ElementNode(INodeData, ElementDescriptor)

Declaration
public ElementNode(INodeData node, ElementDescriptor descriptor)
Parameters
INodeData node

ElementDescriptor descriptor

Fields

MAX_FRIENDLYNAME_LENGTH

Declaration
public const int MAX_FRIENDLYNAME_LENGTH = 30
Field Value
System.Int32

Properties

AssociatedDescriptor

Declaration
public ElementDescriptor AssociatedDescriptor { get; }
Property Value
ElementDescriptor

Children

Declaration
public ElementNodeCollection Children { get; }
Property Value
ElementNodeCollection

Container

Declaration
public object Container { get; set; }
Property Value
System.Object

Depth

Declaration
public int Depth { get; set; }
Property Value
System.Int32

ErrorDetails

Declaration
public string ErrorDetails { get; set; }
Property Value
System.String

InError

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

IsDirty

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

Name

Declaration
public string Name { get; set; }
Property Value
System.String

NodeData

Declaration
public INodeData NodeData { get; }
Property Value
INodeData

NodeType

Declaration
public Type NodeType { get; set; }
Property Value
System.Type

Parent

Declaration
public ElementNode Parent { get; }
Property Value
ElementNode

Shadows

Declaration
public Dictionary<ElementDescriptor, INodeData> Shadows { get; }
Property Value
System.Collections.Generic.Dictionary<ElementDescriptor, INodeData>

VariableReference

Declaration
public CodeExpression VariableReference { get; set; }
Property Value
System.CodeDom.CodeExpression

Methods

AddChild(ElementNode)

Declaration
public ElementNode AddChild(ElementNode node)
Parameters
ElementNode node

Returns
ElementNode

AddShadow(INodeData, ElementDescriptor)

Declaration
public void AddShadow(INodeData node, ElementDescriptor descriptor)
Parameters
INodeData node

ElementDescriptor descriptor

Attach()

Declaration
public void Attach()

Clone()

Declaration
public ElementNode Clone()
Returns
ElementNode

Detach()

Declaration
public void Detach()

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
System.Object obj

Returns
System.Boolean

Overrides
System.Object.Equals(System.Object)

GetElementDescriptor()

Declaration
public ElementDescriptor GetElementDescriptor()
Returns
ElementDescriptor

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

GetParentElementOfKind<T>(Int32)

Declaration
public ElementNode GetParentElementOfKind<T>(int kind)
Parameters
System.Int32 kind

Returns
ElementNode

Type Parameters
T

GetParentOfKind<T>(Int32)

Declaration
public T GetParentOfKind<T>(int kind)
Parameters
System.Int32 kind

Returns
T

Type Parameters
T

InsertChild(Int32, ElementNode)

Declaration
public ElementNode InsertChild(int index, ElementNode node)
Parameters
System.Int32 index

ElementNode node

Returns
ElementNode

OnReplaceNode(Object, ElementNodeEventArgs)

Declaration
public void OnReplaceNode(object sender, ElementNodeEventArgs args)
Parameters
System.Object sender

ElementNodeEventArgs args

RemoveByDescriptor(ElementDescriptor)

Declaration
public void RemoveByDescriptor(ElementDescriptor descriptor)
Parameters
ElementDescriptor descriptor

RemoveSelfIfNeeded()

Declaration
public void RemoveSelfIfNeeded()

SetIndependent(ElementDescriptor)

Declaration
public void SetIndependent(ElementDescriptor descriptor)
Parameters
ElementDescriptor descriptor

SetParent(ElementNode)

Declaration
public void SetParent(ElementNode parent)
Parameters
ElementNode parent

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

Events

ReplaceNode

Declaration
public event EventHandler<ElementNodeEventArgs> ReplaceNode
Event Type
System.EventHandler<ElementNodeEventArgs>

Extension Methods

LightElementNodeExtensions.GetLightElementFromNodeSimple(ElementNode)
LightElementNodeExtensions.GetLightElementFromNode(ElementNode)
Getting Started
  • Getting Started
  • Videos
  • Whats New
  • Roadmap
Community
  • Forums
  • Blogs
  • 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.