←Select platform

InteractiveService Constructor(FrameworkElement,FrameworkElement)

Summary

Initializes a new instance of InteractiveService with the specified parameters.

Syntax

C#
VB
WinRT C#
public InteractiveService(  
   FrameworkElement owner, 
   FrameworkElement targetElement 
) 
Public Function New( _ 
   ByVal owner As FrameworkElement, _ 
   ByVal targetElement As FrameworkElement _ 
) 
public InteractiveService(  
   FrameworkElement owner, 
   FrameworkElement targetElement 
) 
function InteractiveService(  
   owner , 
   targetElement  
) 

Parameters

owner
The owner of the service. Optional and can be null. This is not used by InteractiveService but can be used by the application to pass any class and extra data. ImageViewer passes this for this parameter.

targetElement
The target canvas. This element will be used to check if the event is triggered on its surface and all coordinates will be translated based on its position. Required and must be a valid canvas.

Return Value

The created InteractiveService object.

Requirements

Target Platforms

Help Version 19.0.2017.10.28
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly (WinRT / WPF / iOS / OS X / Android)