Converts instances of other types to and from a MagnifyGlass.
Syntax
Visual Basic (Declaration) | |
---|
Public Class MagnifyGlassConverter
Inherits 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.
XAML | Copy 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
Inheritance Hierarchy
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family
See Also