|
|
|
@ -17,12 +17,12 @@ You can add the Magnifier to any element that is of type UIElement. This is done |
|
|
|
<Window x:Class="WPFToolkit.Extended.Samples.MainWindow" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended" |
|
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" |
|
|
|
Title="MainWindow" Height="350" Width="525" > |
|
|
|
<Grid> |
|
|
|
<extToolkit:MagnifierManager.Magnifier> |
|
|
|
<extToolkit:Magnifier Radius="100" ZoomFactor=".4" /> |
|
|
|
</extToolkit:MagnifierManager.Magnifier> |
|
|
|
<xctk:MagnifierManager.Magnifier> |
|
|
|
<xctk:Magnifier Radius="100" ZoomFactor=".4" /> |
|
|
|
</xctk:MagnifierManager.Magnifier> |
|
|
|
<RichTextBox /> |
|
|
|
</Grid> |
|
|
|
</Window> |
|
|
|
@ -54,15 +54,15 @@ The following code snippet attaches a Magnifier to a Window's parent Grid that h |
|
|
|
<Window x:Class="WPFToolkit.Extended.Samples.MainWindow" |
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
xmlns:extToolkit="http://schemas.microsoft.com/winfx/2006/xaml/presentation/toolkit/extended" |
|
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" |
|
|
|
Title="MainWindow" Height="350" Width="525" > |
|
|
|
<Grid> |
|
|
|
<extToolkit:MagnifierManager.Magnifier> |
|
|
|
<extToolkit:Magnifier BorderBrush="Red" |
|
|
|
BorderThickness="1" |
|
|
|
Radius="75" |
|
|
|
ZoomFactor=".3526" /> |
|
|
|
</extToolkit:MagnifierManager.Magnifier> |
|
|
|
<xctk:MagnifierManager.Magnifier> |
|
|
|
<xctk:Magnifier BorderBrush="Red" |
|
|
|
BorderThickness="1" |
|
|
|
Radius="75" |
|
|
|
ZoomFactor=".3526" /> |
|
|
|
</xctk:MagnifierManager.Magnifier> |
|
|
|
<RichTextBox /> |
|
|
|
</Grid> |
|
|
|
</Window> |
|
|
|
|