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 AutomationObject<T>

Inheritance
System.Object
AutomationObject<T>
InlineCollection
BindingGroup
BitmapPalette
Brush
Camera
Color
ColorContext
CornerRadius
DataGridCellInfo
DataGridColumn
DataGridLength
Drawing
FlowDocument
Geometry
GlyphRun
GradientStop
GridViewColumn
ImageSource
InlineCollection
Int32Rect
Matrix
Matrix3D
MediaPlayer
PathFigure
PathSegment
Pen
PixelFormat
Point
Point3D
Quaternion
Rect
Rotation3D
Size
Thickness
TimeSpan
Transform
Transform3D
Vector3D
ViewBase
Visual
FrameworkElement
ItemCollection
SelectedDatesCollection
Brush
Color
CornerRadius
DataGridColumn
DataGridLength
Duration
Geometry
GradientStop
ImageSource
InputScope
Matrix
MultiScaleSubImage
MultiScaleTileSource
PathFigure
PathSegment
Point
Rect
Size
Thickness
TimeSpan
Transform
DocumentStatisticsInfo
DocumentStatisticsInfo
RadRun
RadRunCollection
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: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii.dll

Syntax

public abstract class AutomationObject<T> : IAutomationPeer, IPeerConverter
Type Parameters
T

Constructors

AutomationObject()

Declaration
public AutomationObject()

AutomationObject(AutomationReference)

Declaration
public AutomationObject(AutomationReference reference)
Parameters
AutomationReference reference

Properties

PropertyBag

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

Implements
IAutomationPeer.PropertyBag

Reference

Declaration
public AutomationReference Reference { get; set; }
Property Value
AutomationReference

Implements
IAutomationPeer.Reference

Methods

AssignReference(AutomationReference)

Declaration
public virtual void AssignReference(AutomationReference reference)
Parameters
AutomationReference reference

Implements
IAutomationPeer.AssignReference(AutomationReference)

Deserialize(String)

Declaration
public virtual object Deserialize(string jsonString)
Parameters
System.String jsonString

Returns
System.Object

Implements
IAutomationPeer.Deserialize(String)

FromRealObject(Object)

Declaration
public virtual void FromRealObject(object o)
Parameters
System.Object o

Implements
IPeerConverter.FromRealObject(Object)

GetProperty(AutomationProperty)

Declaration
public virtual object GetProperty(AutomationProperty property)
Parameters
AutomationProperty property

Returns
System.Object

GetProperty(AutomationProperty, Object)

Declaration
public virtual object GetProperty(AutomationProperty property, object defaultValue)
Parameters
AutomationProperty property

System.Object defaultValue

Returns
System.Object

GetRealType()

Declaration
public abstract string GetRealType()
Returns
System.String

Implements
IAutomationPeer.GetRealType()

InvokeMethod(AutomationMethod, Object[])

Declaration
public virtual object InvokeMethod(AutomationMethod method, params object[] parameters)
Parameters
AutomationMethod method

System.Object[] parameters

Returns
System.Object

InvokeMethod(String, Object[])

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

System.Object[] parameters

Returns
System.Object

Serialize()

Declaration
public virtual string Serialize()
Returns
System.String

Implements
IAutomationPeer.Serialize()

SetProperty(AutomationProperty, Object)

Declaration
public virtual void SetProperty(AutomationProperty property, object value)
Parameters
AutomationProperty property

System.Object value

ToRealObject()

Declaration
public virtual object ToRealObject()
Returns
System.Object

Implements
IPeerConverter.ToRealObject()
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.