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 SilverlightApp

Inheritance
System.Object
VisualTreeHost
SilverlightApp
Inherited Members
VisualTreeHost.LocateInHost(String[])
VisualTreeHost.GetHostRoot()
VisualTreeHost.UpdateInterHostLinks()
VisualTreeHost.FixAnnotationArea(Rectangle)
VisualTreeHost.GetWindowRectangle()
VisualTreeHost.OwnerApp
VisualTreeHost.VisualTree
VisualTreeHost.StateHashCode
VisualTreeHost.ShouldDisplayAnnotation
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 class SilverlightApp : VisualTreeHost, IApplication, IAutomationHost, ISupportSearchHost, IAnnotationHost

Constructors

SilverlightApp(HtmlControl)

Declaration
public SilverlightApp(HtmlControl plugin)
Parameters
HtmlControl plugin

Properties

Annotator

Declaration
public override Annotator Annotator { get; }
Property Value
Annotator

Overrides
VisualTreeHost.Annotator
Implements
IAnnotationHost.Annotator

Bounds

Declaration
public Rectangle Bounds { get; }
Property Value
System.Drawing.Rectangle

Implements
IApplication.Bounds

Content

Declaration
public SilverlightAppContent Content { get; }
Property Value
SilverlightAppContent

ContentWindow

Declaration
public override Window ContentWindow { get; }
Property Value
Window

Overrides
VisualTreeHost.ContentWindow
Implements
IAnnotationHost.ContentWindow

CustomAssemblies

Declaration
public static string[] CustomAssemblies { get; }
Property Value
System.String[]

Desktop

Declaration
public Desktop Desktop { get; }
Property Value
Desktop

Implements
IApplication.Desktop

EnableValidateMouseLocation

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

Implements
IApplication.EnableValidateMouseLocation

Find

Declaration
public VisualFind Find { get; }
Property Value
VisualFind

Implements
IApplication.Find

FriendlyName

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

Overrides
VisualTreeHost.FriendlyName
Implements
IAutomationHost.FriendlyName

Host

Declaration
public HtmlControl Host { get; }
Property Value
HtmlControl

IsConnected

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

IsLoaded

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

IsRecordingHost

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

Implements
IApplication.IsRecordingHost

ManagedProxy

Declaration
public ICommunicationProxy ManagedProxy { get; }
Property Value
ICommunicationProxy

Implements
IApplication.ManagedProxy

Manager

Declaration
public override Manager Manager { get; }
Property Value
Manager

Overrides
VisualTreeHost.Manager
Implements
IAnnotationHost.Manager

OwnerBrowser

Declaration
public Browser OwnerBrowser { get; }
Property Value
Browser

Plugin

Declaration
public HtmlControl Plugin { get; }
Property Value
HtmlControl

Popups

Declaration
public IList<VisualTreeHost> Popups { get; }
Property Value
System.Collections.Generic.IList<VisualTreeHost>

Implements
IApplication.Popups

Settings

Declaration
public SilverlightAppSettings Settings { get; }
Property Value
SilverlightAppSettings

TechnologyType

Declaration
public override TechnologyType TechnologyType { get; }
Property Value
TechnologyType

Overrides
VisualTreeHost.TechnologyType
Implements
IAutomationHost.TechnologyType

UniqueId

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

Overrides
VisualTreeHost.UniqueId
Implements
IAutomationHost.UniqueId

Window

Declaration
public override Window Window { get; }
Property Value
Window

Overrides
VisualTreeHost.Window
Implements
IAnnotationHost.Window

Methods

AddCustomAssembly(String, MemoryStream)

Declaration
public static void AddCustomAssembly(string assemblyName, MemoryStream assembly)
Parameters
System.String assemblyName

System.IO.MemoryStream assembly

Capture()

Declaration
public Bitmap Capture()
Returns
System.Drawing.Bitmap

Implements
IAutomationHost.Capture()

Capture(FrameworkElement)

Declaration
public Bitmap Capture(FrameworkElement element)
Parameters
FrameworkElement element

Returns
System.Drawing.Bitmap

Implements
IApplication.Capture(FrameworkElement)

ClearAppCache()

Declaration
public static void ClearAppCache()

ClearHighlight()

Declaration
public void ClearHighlight()

Connect()

Declaration
public void Connect()

Connect(Int32)

Declaration
public void Connect(int timeout)
Parameters
System.Int32 timeout

ElementFromPoint(Int32, Int32)

Declaration
public FrameworkElement ElementFromPoint(int x, int y)
Parameters
System.Int32 x

System.Int32 y

Returns
FrameworkElement

Implements
IApplication.ElementFromPoint(Int32, Int32)

ElementsFromPoint(Point)

Declaration
public IList<FrameworkElement> ElementsFromPoint(Point p)
Parameters
System.Drawing.Point p

Returns
System.Collections.Generic.IList<FrameworkElement>

EnsureElementClickable(FrameworkElement)

Declaration
public void EnsureElementClickable(FrameworkElement element)
Parameters
FrameworkElement element

Implements
IApplication.EnsureElementClickable(FrameworkElement)

EnsureStateIsCurrent()

Declaration
public override void EnsureStateIsCurrent()
Overrides
VisualTreeHost.EnsureStateIsCurrent()
Implements
IAutomationHost.EnsureStateIsCurrent()

FindName(String)

Declaration
public FrameworkElement FindName(string name)
Parameters
System.String name

Returns
FrameworkElement

FindName<T>(String)

Declaration
public T FindName<T>(string name)
    where T : FrameworkElement
Parameters
System.String name

Returns
T

Type Parameters
T

GetApp(HtmlControl)

Declaration
public static SilverlightApp GetApp(HtmlControl host)
Parameters
HtmlControl host

Returns
SilverlightApp

GetApp(HtmlControl, Int32, Boolean)

Declaration
public static SilverlightApp GetApp(HtmlControl host, int timeout, bool catchedOnly)
Parameters
HtmlControl host

System.Int32 timeout

System.Boolean catchedOnly

Returns
SilverlightApp

GetChildHosts()

Declaration
public override IAutomationHost[] GetChildHosts()
Returns
IAutomationHost[]

Overrides
VisualTreeHost.GetChildHosts()
Implements
IAutomationHost.GetChildHosts()

GetScreenRectangle(FrameworkElement)

Declaration
public Rectangle GetScreenRectangle(FrameworkElement element)
Parameters
FrameworkElement element

Returns
System.Drawing.Rectangle

Implements
IApplication.GetScreenRectangle(FrameworkElement)

GetToolTipText(FrameworkElement)

Declaration
public string GetToolTipText(FrameworkElement element)
Parameters
FrameworkElement element

Returns
System.String

Implements
IApplication.GetToolTipText(FrameworkElement)

InitializeCustomTypes()

Declaration
public static void InitializeCustomTypes()

InitializeCustomTypes(IList<ICustomSilverlightTypesProvider>)

Declaration
public static void InitializeCustomTypes(IList<ICustomSilverlightTypesProvider> providers)
Parameters
System.Collections.Generic.IList<ICustomSilverlightTypesProvider> providers

LocateAllInHost(String[])

Declaration
public override IList<ITargetElement> LocateAllInHost(string[] expression)
Parameters
System.String[] expression

Returns
System.Collections.Generic.IList<ITargetElement>

Overrides
VisualTreeHost.LocateAllInHost(String[])
Implements
ISupportSearchHost.LocateAllInHost(String[])

RefreshVisualTrees()

Declaration
public void RefreshVisualTrees()
Implements
IApplication.RefreshVisualTrees()

ResizeContainer(Int32, Int32, Int32, Int32)

Declaration
public void ResizeContainer(int x, int y, int width, int height)
Parameters
System.Int32 x

System.Int32 y

System.Int32 width

System.Int32 height

Implements
IApplication.ResizeContainer(Int32, Int32, Int32, Int32)

ScrollElementVisible(FrameworkElement, ScrollToVisibleType)

Declaration
public void ScrollElementVisible(FrameworkElement element, ScrollToVisibleType scrollType)
Parameters
FrameworkElement element

ScrollToVisibleType scrollType

Implements
IApplication.ScrollElementVisible(FrameworkElement, ScrollToVisibleType)

SetWindowFocus()

Declaration
public override bool SetWindowFocus()
Returns
System.Boolean

Overrides
VisualTreeHost.SetWindowFocus()
Implements
IAutomationHost.SetWindowFocus()

ValidateMouseLocation(Point)

Declaration
public override void ValidateMouseLocation(Point point)
Parameters
System.Drawing.Point point

Overrides
VisualTreeHost.ValidateMouseLocation(Point)
Implements
IAutomationHost.ValidateMouseLocation(Point)

Explicit Interface Implementations

IApplication.GetSubtreeFriendlyName(VisualTree)

Declaration
string IApplication.GetSubtreeFriendlyName(VisualTree subtree)
Parameters
VisualTree subtree

Returns
System.String

Implements
IApplication.GetSubtreeFriendlyName(VisualTree)

IApplication.IsConnected

Declaration
bool IApplication.IsConnected { get; }
Returns
System.Boolean

Implements
IApplication.IsConnected

IApplication.PopulateVisualTree()

Declaration
VisualTree IApplication.PopulateVisualTree()
Returns
VisualTree

Implements
IApplication.PopulateVisualTree()
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.