Leadtools.Windows.Controls Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.03.25
MagnifyGlassConverter Class
See Also  Members   Example 
Leadtools.Windows.Controls Namespace : MagnifyGlassConverter Class





Converts instances of other types to and from a MagnifyGlass.

Syntax

Visual Basic (Declaration) 
Public Class MagnifyGlassConverter 
   Inherits TypeConverter
Visual Basic (Usage)Copy Code
Dim instance As MagnifyGlassConverter
C# 
public class MagnifyGlassConverter : TypeConverter 
Managed Extensions for C++ 
public __gc class MagnifyGlassConverter : public TypeConverter 
C++/CLI 
public ref class MagnifyGlassConverter : public TypeConverter 
XAML Object Element Usage 

<MagnifyGlassConverter .../>

Example

For C#/VB examples, refer to Shape.

XAMLCopy Code
<Window x:Class="WPFSamples.BitmapSourceViewer" Height="600" Width="800" Title="MagnifyGlass Converter Sample" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls"> 
  <DockPanel> 
    <Leadtools_Windows_Controls:BitmapSourceViewer Name="theViewer" Source="file:///C:\Program Files\LEAD Technologies\LEADTOOLS 15\Images\slave.jpg" DockPanel.Dock="Bottom" HorizontalAlignment="Center" VerticalAlignment="Bottom" InteractiveMode="MagnifyGlass" MagnifyGlass="150, 150, 1.5" /> 
  </DockPanel> 
</Window>

Remarks

MagnifyGlassConverter is used to create an instance of MagnifyGlass from a string attribute.

Inheritance Hierarchy

System.Object
   System.ComponentModel.TypeConverter
      Leadtools.Windows.Controls.MagnifyGlassConverter

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also