(Leadtools.Controls)

CreateControl Method

Show in webframe





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 parameter.
The target canvas. 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. It is required and must be a valid canvas.
Creates the interactive service.
Syntax
protected void CreateControl( 
   FrameworkElement owner,
   FrameworkElement targetElement
)
Protected Sub CreateControl( _
   ByVal owner As FrameworkElement, _
   ByVal targetElement As FrameworkElement _
) 
protected void CreateControl( 
   FrameworkElement owner,
   FrameworkElement targetElement
)

            

            
 function Leadtools.Controls.InteractiveService.CreateControl( 
   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 parameter.
targetElement
The target canvas. 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. It is required and must be a valid canvas.

Return Value

The created InteractiveService object.
Requirements

Target Platforms

See Also

Reference

InteractiveService Class
InteractiveService Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.