skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Tools
    ThemeBuilder Design System Kit
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Free Tools
    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
    • Test Studio Trainings
    • Test Studio Consulting
    • Docs and Support
    • Documentation
    • Virtual Classroom
    • Videos
    • Blogs
    • Webinars
    • Whitepapers
    • Case Studies
    • Feedback Portal
    • Technical Support
    • What’s New
    • Roadmap
    • Release Notes
  • 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 AutomationDescriptor

Inheritance
System.Object
DataBoundObject
AutomationDescriptor
ActionDescriptor
LogicalDescriptor
VerificationDescriptor
Inherited Members
DataBoundObject._data
DataBoundObject.BindData<T>(String)
DataBoundObject.BindDataCode(String)
DataBoundObject.BindDataCode(String, PropertyInfo)
DataBoundObject.Data
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.Common.Design.Extensibility.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll

Syntax

public abstract class AutomationDescriptor : DataBoundObject, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject

Constructors

AutomationDescriptor()

Declaration
public AutomationDescriptor()

AutomationDescriptor(ITargetElement)

Declaration
public AutomationDescriptor(ITargetElement target)
Parameters
ITargetElement target

AutomationDescriptor(String, ITargetElement)

Declaration
public AutomationDescriptor(string name, ITargetElement target)
Parameters
System.String name

ITargetElement target

Fields

_dataBindingExpressions

Declaration
[CLSCompliant(false)]
protected Dictionary<string, string> _dataBindingExpressions
Field Value
System.Collections.Generic.Dictionary<System.String, System.String>

_dynamicReadOnlyProperties

Declaration
[CLSCompliant(false)]
protected Dictionary<string, bool> _dynamicReadOnlyProperties
Field Value
System.Collections.Generic.Dictionary<System.String, System.Boolean>

_dynamicVisibilityProperties

Declaration
[CLSCompliant(false)]
protected Dictionary<string, bool> _dynamicVisibilityProperties
Field Value
System.Collections.Generic.Dictionary<System.String, System.Boolean>

_editorType

Declaration
[CLSCompliant(false)]
protected Type _editorType
Field Value
System.Type

_elementDescriptors

Declaration
[CLSCompliant(false)]
protected Dictionary<string, ElementDescriptor> _elementDescriptors
Field Value
System.Collections.Generic.Dictionary<System.String, ElementDescriptor>

_hasQuickTask

Declaration
[CLSCompliant(false)]
protected bool _hasQuickTask
Field Value
System.Boolean

_pauseType

Declaration
[CLSCompliant(false)]
protected StepPauseType _pauseType
Field Value
StepPauseType

_quickTasks

Declaration
[CLSCompliant(false)]
protected IQuickTasks _quickTasks
Field Value
IQuickTasks

_searchByImageFirst

Declaration
[CLSCompliant(false)]
protected SearchElementOrderType _searchByImageFirst
Field Value
SearchElementOrderType

_targets

Declaration
[CLSCompliant(false)]
protected Dictionary<string, ITargetElement> _targets
Field Value
System.Collections.Generic.Dictionary<System.String, ITargetElement>

_testMethod

Declaration
[CLSCompliant(false)]
protected CodeMemberMethod _testMethod
Field Value
System.CodeDom.CodeMemberMethod

_type

Declaration
[CLSCompliant(false)]
protected AutomationDescriptorType _type
Field Value
AutomationDescriptorType

_waitOnElementsExistFirst

Declaration
[CLSCompliant(false)]
protected bool _waitOnElementsExistFirst
Field Value
System.Boolean

_waitOnElementsExistTimeout

Declaration
[CLSCompliant(false)]
protected int _waitOnElementsExistTimeout
Field Value
System.Int32

Properties

CodeGenMode

Declaration
protected CodeGenMode CodeGenMode { get; set; }
Property Value
CodeGenMode

Constraints

Declaration
public DescriptorConstraints Constraints { get; }
Property Value
DescriptorConstraints

CustomOrFriendlyDescription

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

DataBindingExpressions

Declaration
public Dictionary<string, string> DataBindingExpressions { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.String>

DescriptorType

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

DontUseDomState

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

DynamicReadOnlyProperties

Declaration
public Dictionary<string, bool> DynamicReadOnlyProperties { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.Boolean>

DynamicVisibilityProperties

Declaration
public Dictionary<string, bool> DynamicVisibilityProperties { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.Boolean>

EditorType

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

EditorTypeString

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

ElementDescriptors

Declaration
public Dictionary<string, ElementDescriptor> ElementDescriptors { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String, ElementDescriptor>

ExtensionData

Declaration
public virtual ExtensionDataObject ExtensionData { get; set; }
Property Value
System.Runtime.Serialization.ExtensionDataObject

FriendlyDescription

Declaration
public virtual string FriendlyDescription { get; }
Property Value
System.String

HasQuickTasks

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

IsSearchByImageApllicable

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

LogMessageOnFailure

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

Pause

Declaration
public StepPauseType Pause { get; set; }
Property Value
StepPauseType

PrimaryProperties

Declaration
public IEnumerable<PropertyInfo> PrimaryProperties { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo>

PrimaryTarget

Declaration
public virtual ElementDescriptor PrimaryTarget { get; set; }
Property Value
ElementDescriptor

PrimaryTargetKey

Declaration
public virtual string PrimaryTargetKey { get; }
Property Value
System.String

QuickTasks

Declaration
public IQuickTasks QuickTasks { get; }
Property Value
IQuickTasks

RequiredAssemblyReferences

Declaration
public virtual string[] RequiredAssemblyReferences { get; }
Property Value
System.String[]

RunsAgainst

Declaration
public BrowserConstraints RunsAgainst { get; set; }
Property Value
BrowserConstraints

RunsAgainstVersion

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

RunsAgainstVersionCompare

Declaration
public NumberCompareType RunsAgainstVersionCompare { get; set; }
Property Value
NumberCompareType

SearchByImageFirst

Declaration
[PrimaryProperty]
public virtual SearchElementOrderType SearchByImageFirst { get; set; }
Property Value
SearchElementOrderType

SecondaryTarget

Declaration
public virtual ElementDescriptor SecondaryTarget { get; set; }
Property Value
ElementDescriptor

SecondaryTargetKey

Declaration
public virtual string SecondaryTargetKey { get; }
Property Value
System.String

StepType

Declaration
public AutomationDescriptorType StepType { get; set; }
Property Value
AutomationDescriptorType

SupportsConvertToCode

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

Targets

Declaration
public Dictionary<string, ITargetElement> Targets { get; set; }
Property Value
System.Collections.Generic.Dictionary<System.String, ITargetElement>

TargetsCustomControlTypes

Declaration
public Dictionary<string, Type> TargetsCustomControlTypes { get; }
Property Value
System.Collections.Generic.Dictionary<System.String, System.Type>

TargetSearchAlgorithm

Declaration
public TargetSearchAlgorithm TargetSearchAlgorithm { get; }
Property Value
TargetSearchAlgorithm

TechnologyType

Declaration
public virtual TechnologyType TechnologyType { get; set; }
Property Value
TechnologyType

TestMethod

Declaration
public CodeMemberMethod TestMethod { get; set; }
Property Value
System.CodeDom.CodeMemberMethod

UseStepWaitOnElementsTimout

Declaration
[PrimaryProperty]
public virtual bool UseStepWaitOnElementsTimout { get; set; }
Property Value
System.Boolean

WaitOnElements

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

WaitOnElementsTimeout

Declaration
[PrimaryProperty]
public virtual int WaitOnElementsTimeout { get; set; }
Property Value
System.Int32

Methods

AreSameIncludingElements(AutomationDescriptor, AutomationDescriptor)

Declaration
public static bool AreSameIncludingElements(AutomationDescriptor desc1, AutomationDescriptor desc2)
Parameters
AutomationDescriptor desc1

AutomationDescriptor desc2

Returns
System.Boolean

BindData(String)

Declaration
protected override object BindData(string propertyName)
Parameters
System.String propertyName

Returns
System.Object

Overrides
DataBoundObject.BindData(String)

BindDataCode(String, String, Type)

Declaration
protected override object BindDataCode(string descriptorPropertyName, string controlPropertyName, Type controlPropertyType)
Parameters
System.String descriptorPropertyName

System.String controlPropertyName

System.Type controlPropertyType

Returns
System.Object

Overrides
DataBoundObject.BindDataCode(String, String, Type)

ChangeTarget(ElementDescriptor, String)

Declaration
protected void ChangeTarget(ElementDescriptor descriptor, string targetName)
Parameters
ElementDescriptor descriptor

System.String targetName

Clone()

Declaration
public AutomationDescriptor Clone()
Returns
AutomationDescriptor

ConsolidateText(String, String)

Declaration
public static string ConsolidateText(string original, string added)
Parameters
System.String original

System.String added

Returns
System.String

ConsolidateText(String, String, TextTypingInfo)

Declaration
public static string ConsolidateText(string original, string added, TextTypingInfo info)
Parameters
System.String original

System.String added

TextTypingInfo info

Returns
System.String

CreateControlFromElement<TControl>(Element, Int32)

Declaration
protected TControl CreateControlFromElement<TControl>(Element element, int depth = 5)
    where TControl : Control, new()
Parameters
Element element

System.Int32 depth

Returns
TControl

Type Parameters
TControl

CreateControlFromTarget<TControl>(String, Int32)

Declaration
protected TControl CreateControlFromTarget<TControl>(string targetName, int depth = 5)
    where TControl : Control, new()
Parameters
System.String targetName

System.Int32 depth

Returns
TControl

Type Parameters
TControl

CreateElementFindExpression(String)

Declaration
protected virtual CodeExpression CreateElementFindExpression(string elementKey)
Parameters
System.String elementKey

Returns
System.CodeDom.CodeExpression

CreateElementReference(String)

Declaration
protected virtual CodeExpression CreateElementReference(string elementKey)
Parameters
System.String elementKey

Returns
System.CodeDom.CodeExpression

CreateElementReference(String, Boolean, Int32)

Declaration
protected virtual CodeExpression CreateElementReference(string elementKey, bool waitForExistsState, int waitForExistsTimeout)
Parameters
System.String elementKey

System.Boolean waitForExistsState

System.Int32 waitForExistsTimeout

Returns
System.CodeDom.CodeExpression

GenerateLambdaExpression(CodeVariableReferenceExpression, CodeExpression, Boolean)

Declaration
protected CodeSnippetExpression GenerateLambdaExpression(CodeVariableReferenceExpression lambdaVarRef, CodeExpression lambdaValueExpr, bool isPositiveExpression = true)
Parameters
System.CodeDom.CodeVariableReferenceExpression lambdaVarRef

System.CodeDom.CodeExpression lambdaValueExpr

System.Boolean isPositiveExpression

Returns
System.CodeDom.CodeSnippetExpression

GenerateLambdaExpression(CodeVariableReferenceExpression[], CodeExpression, Boolean)

Declaration
protected CodeSnippetExpression GenerateLambdaExpression(CodeVariableReferenceExpression[] lambdaVarRefs, CodeExpression lambdaValueExpr, bool isPositiveExpression = true)
Parameters
System.CodeDom.CodeVariableReferenceExpression[] lambdaVarRefs

System.CodeDom.CodeExpression lambdaValueExpr

System.Boolean isPositiveExpression

Returns
System.CodeDom.CodeSnippetExpression

GenerateLambdaVariableRef()

Declaration
protected CodeVariableReferenceExpression GenerateLambdaVariableRef()
Returns
System.CodeDom.CodeVariableReferenceExpression

GenerateLambdaVariableRef(Int32)

Declaration
protected CodeVariableReferenceExpression GenerateLambdaVariableRef(int index)
Parameters
System.Int32 index

Returns
System.CodeDom.CodeVariableReferenceExpression

GenerateTernaryExpression(CodeExpression, CodeExpression, CodeExpression)

Declaration
protected CodeSnippetExpression GenerateTernaryExpression(CodeExpression condition, CodeExpression trueExpr, CodeExpression falseExpr)
Parameters
System.CodeDom.CodeExpression condition

System.CodeDom.CodeExpression trueExpr

System.CodeDom.CodeExpression falseExpr

Returns
System.CodeDom.CodeSnippetExpression

GetAttributes()

Declaration
public AttributeCollection GetAttributes()
Returns
System.ComponentModel.AttributeCollection

GetClassName()

Declaration
public string GetClassName()
Returns
System.String

GetComponentName()

Declaration
public string GetComponentName()
Returns
System.String

GetConverter()

Declaration
public TypeConverter GetConverter()
Returns
System.ComponentModel.TypeConverter

GetDefaultEvent()

Declaration
public EventDescriptor GetDefaultEvent()
Returns
System.ComponentModel.EventDescriptor

GetDefaultProperty()

Declaration
public PropertyDescriptor GetDefaultProperty()
Returns
System.ComponentModel.PropertyDescriptor

GetEditor(Type)

Declaration
public object GetEditor(Type editorBaseType)
Parameters
System.Type editorBaseType

Returns
System.Object

GetEvents()

Declaration
public EventDescriptorCollection GetEvents()
Returns
System.ComponentModel.EventDescriptorCollection

GetEvents(Attribute[])

Declaration
public EventDescriptorCollection GetEvents(Attribute[] attributes)
Parameters
System.Attribute[] attributes

Returns
System.ComponentModel.EventDescriptorCollection

GetHashCode()

Declaration
public override int GetHashCode()
Returns
System.Int32

Overrides
System.Object.GetHashCode()

GetLambdaExpression(CodeGenerationLanguage, CodeExpression)

Declaration
protected virtual string GetLambdaExpression(CodeGenerationLanguage language, CodeExpression expression)
Parameters
CodeGenerationLanguage language

System.CodeDom.CodeExpression expression

Returns
System.String

GetLambdaExpression(CodeGenerationLanguage, CodeExpression, Boolean)

Declaration
protected virtual string GetLambdaExpression(CodeGenerationLanguage language, CodeExpression expression, bool isPositiveExpression)
Parameters
CodeGenerationLanguage language

System.CodeDom.CodeExpression expression

System.Boolean isPositiveExpression

Returns
System.String

GetLambdaVariableReference()

Declaration
protected virtual CodeVariableReferenceExpression GetLambdaVariableReference()
Returns
System.CodeDom.CodeVariableReferenceExpression

GetNoParamLamdaExpression(CodeGenerationLanguage, CodeExpression)

Declaration
protected virtual string GetNoParamLamdaExpression(CodeGenerationLanguage language, CodeExpression expression)
Parameters
CodeGenerationLanguage language

System.CodeDom.CodeExpression expression

Returns
System.String

GetNumberedVariableName(String)

Declaration
protected virtual string GetNumberedVariableName(string baseName)
Parameters
System.String baseName

Returns
System.String

GetParentsReference(ElementDescriptor)

Declaration
protected CodeExpression GetParentsReference(ElementDescriptor descriptor)
Parameters
ElementDescriptor descriptor

Returns
System.CodeDom.CodeExpression

GetProjectLanguage()

Declaration
public CodeGenerationLanguage GetProjectLanguage()
Returns
CodeGenerationLanguage

GetProperties()

Declaration
public PropertyDescriptorCollection GetProperties()
Returns
System.ComponentModel.PropertyDescriptorCollection

GetProperties(Attribute[])

Declaration
public PropertyDescriptorCollection GetProperties(Attribute[] attributes)
Parameters
System.Attribute[] attributes

Returns
System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner(PropertyDescriptor)

Declaration
public object GetPropertyOwner(PropertyDescriptor pd)
Parameters
System.ComponentModel.PropertyDescriptor pd

Returns
System.Object

GetValidVariableName(String)

Declaration
protected virtual string GetValidVariableName(string currentName)
Parameters
System.String currentName

Returns
System.String

HasRequiredValue(String)

Declaration
public virtual bool HasRequiredValue(string propertyName)
Parameters
System.String propertyName

Returns
System.Boolean

InvokeMethod(CodeExpression, Boolean, String, CodeGenerationLanguage, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(CodeExpression controlReference, bool invoke, string methodName, CodeGenerationLanguage language, params object[] parameters)
Parameters
System.CodeDom.CodeExpression controlReference

System.Boolean invoke

System.String methodName

CodeGenerationLanguage language

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(CodeExpression, Boolean, String, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(CodeExpression controlReference, bool invoke, string methodName, params object[] parameters)
Parameters
System.CodeDom.CodeExpression controlReference

System.Boolean invoke

System.String methodName

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, Boolean, String, CodeGenerationLanguage, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string objectName, bool invoke, string methodName, CodeGenerationLanguage language, params object[] parameters)
Parameters
System.String objectName

System.Boolean invoke

System.String methodName

CodeGenerationLanguage language

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, Boolean, String, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string objectName, bool invoke, string methodName, params object[] parameters)
Parameters
System.String objectName

System.Boolean invoke

System.String methodName

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, String, CodeGenerationLanguage, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string objectName, string methodName, CodeGenerationLanguage language, params object[] parameters)
Parameters
System.String objectName

System.String methodName

CodeGenerationLanguage language

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, String, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string objectName, string methodName, params object[] parameters)
Parameters
System.String objectName

System.String methodName

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, Type, Boolean, String, CodeGenerationLanguage, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string elementKey, Type controlType, bool invokeMethod, string methodName, CodeGenerationLanguage language, params object[] parameters)
Parameters
System.String elementKey

System.Type controlType

System.Boolean invokeMethod

System.String methodName

CodeGenerationLanguage language

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeMethod(String, Type, Boolean, String, Object[])

Declaration
protected virtual CodeExpression InvokeMethod(string elementKey, Type controlType, bool invokeMethod, string methodName, params object[] parameters)
Parameters
System.String elementKey

System.Type controlType

System.Boolean invokeMethod

System.String methodName

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeWaitForExistsMethod(CodeExpression)

Declaration
protected virtual CodeExpression InvokeWaitForExistsMethod(CodeExpression controlReference)
Parameters
System.CodeDom.CodeExpression controlReference

Returns
System.CodeDom.CodeExpression

InvokeWaitMethod(String, Type, Int32, Int32, CodeExpression)

Declaration
protected virtual CodeExpression InvokeWaitMethod(string elementKey, Type controlType, int timeOut, int checkInterval, CodeExpression lambdaStatement)
Parameters
System.String elementKey

System.Type controlType

System.Int32 timeOut

System.Int32 checkInterval

System.CodeDom.CodeExpression lambdaStatement

Returns
System.CodeDom.CodeExpression

InvokeWaitMethod(String, Type, Int32, Int32, CodeExpression, CodeGenerationLanguage)

Declaration
protected virtual CodeExpression InvokeWaitMethod(string elementKey, Type controlType, int timeOut, int checkInterval, CodeExpression lambdaStatement, CodeGenerationLanguage language)
Parameters
System.String elementKey

System.Type controlType

System.Int32 timeOut

System.Int32 checkInterval

System.CodeDom.CodeExpression lambdaStatement

CodeGenerationLanguage language

Returns
System.CodeDom.CodeExpression

InvokeWaitMethod(String, Type, Int32, Int32, String, CodeGenerationLanguage, Object[])

Declaration
protected virtual CodeExpression InvokeWaitMethod(string elementKey, Type controlType, int timeOut, int checkInterval, string methodName, CodeGenerationLanguage language, params object[] parameters)
Parameters
System.String elementKey

System.Type controlType

System.Int32 timeOut

System.Int32 checkInterval

System.String methodName

CodeGenerationLanguage language

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

InvokeWaitMethod(String, Type, Int32, Int32, String, Object[])

Declaration
protected virtual CodeExpression InvokeWaitMethod(string elementKey, Type controlType, int timeOut, int checkInterval, string methodName, params object[] parameters)
Parameters
System.String elementKey

System.Type controlType

System.Int32 timeOut

System.Int32 checkInterval

System.String methodName

System.Object[] parameters

Returns
System.CodeDom.CodeExpression

IsDataBound(String)

Declaration
protected override bool IsDataBound(string propertyName)
Parameters
System.String propertyName

Returns
System.Boolean

Overrides
DataBoundObject.IsDataBound(String)

NotifyElementNameChange(ElementDescriptor)

Declaration
public virtual void NotifyElementNameChange(ElementDescriptor elementDescriptor)
Parameters
ElementDescriptor elementDescriptor

OnBeforeConfirmRecording(Object)

Declaration
public virtual void OnBeforeConfirmRecording(object data)
Parameters
System.Object data

OnBeforeElementDescriptorAdded(String, ITargetElement, FindExpressionElement)

Declaration
public virtual void OnBeforeElementDescriptorAdded(string key, ITargetElement targetElement, FindExpressionElement generatedElement)
Parameters
System.String key

ITargetElement targetElement

FindExpressionElement generatedElement

OnPropertyChanged(String)

Declaration
public virtual void OnPropertyChanged(string propertyName)
Parameters
System.String propertyName

ParseParameters(Object[], out Boolean, CodeGenerationLanguage)

Declaration
protected CodeExpression[] ParseParameters(object[] parameters, out bool isDataBound, CodeGenerationLanguage language)
Parameters
System.Object[] parameters

System.Boolean isDataBound

CodeGenerationLanguage language

Returns
System.CodeDom.CodeExpression[]

SetProperty(CodeExpression, Object)

Declaration
protected virtual void SetProperty(CodeExpression controlReference, object propertyName)
Parameters
System.CodeDom.CodeExpression controlReference

System.Object propertyName

SetProperty(CodeExpression, Object, CodeGenerationLanguage)

Declaration
protected virtual void SetProperty(CodeExpression controlReference, object propertyName, CodeGenerationLanguage language)
Parameters
System.CodeDom.CodeExpression controlReference

System.Object propertyName

CodeGenerationLanguage language

SetProperty(String, Type, Object)

Declaration
protected virtual void SetProperty(string elementKey, Type controlType, object propertyName)
Parameters
System.String elementKey

System.Type controlType

System.Object propertyName

SetProperty(String, Type, Object, CodeGenerationLanguage)

Declaration
protected virtual void SetProperty(string elementKey, Type controlType, object propertyName, CodeGenerationLanguage language)
Parameters
System.String elementKey

System.Type controlType

System.Object propertyName

CodeGenerationLanguage language

SupportsElementType(Type)

Declaration
public virtual bool SupportsElementType(Type elementType)
Parameters
System.Type elementType

Returns
System.Boolean

ToCode()

Declaration
public virtual void ToCode()

ToString()

Declaration
public override string ToString()
Returns
System.String

Overrides
System.Object.ToString()

UsesTarget(String)

Declaration
public virtual bool UsesTarget(string target)
Parameters
System.String target

Returns
System.Boolean

Events

PropertyChanged

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

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.