←Select platform

TargetElement Property

Summary

Gets or sets the target canvas.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public FrameworkElement TargetElement {get; set;} 
Public Property TargetElement As FrameworkElement 
public FrameworkElement TargetElement {get; set;} 
iOS: 
@property (nonatomic, strong) UIView *target 
macOS: 
@property (nonatomic, strong) NSView *target 
public View getTargetView() 
public void setTargetView(View view) 
             
  
get_TargetElement(); 
set_TargetElement(value); 
Object.defineProperty('TargetElement');  

Property Value

The target canvas.

Remarks

This is the same value set in the targetElement parameter to the InteractiveService Constructor(frameworkelement,frameworkelement) constructor. This element is the target that will be used to check if the event is triggered on its surface and all coordinates will be translated based on its position.

This is required and must be a valid canvas.

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)