Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Comment on "Magnifier"

$
0
0
Follow the xaml <Window x:Class="WPFextk" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" Title="MainWindow" Height="350" Width="525" > <Grid Name="MainWinPanel" KeyboardNavigation.TabNavigation="Cycle" > </Grid> </Window> follow code behind Class WPFextk Private Sub Window_Loaded(ByVal sender As System.Object, ByVal e As System.Windows.RoutedEventArgs) Handles MyBase.Loaded Dim magnifier As New Xceed.Wpf.Toolkit.Magnifier magnifier.BorderBrush = Brushes.Blue magnifier.Radius = 75 magnifier.ZoomFactor = 0.3526 Me.MainWinPanel.Children.Add(magnifier) Dim tbx As New TextBlock tbx.Text = "qwxqsxjwosnd 2epun qodunf oqeu fboweub p weinu c" Me.MainWinPanel.Children.Add(tbx) End Sub End Class

Viewing all articles
Browse latest Browse all 4964

Trending Articles