Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 525 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 525 Bytes

Han.Wpf.ViewportControl

A Wpf Viewport Control that provides pan and zoom functionality.

Installation

Install-Package Han.Wpf.ViewportControl

Documentation

Themes

Include in App.xaml

<Application.Resources>

    <ResourceDictionary Source="pack://application:,,,/Han.Wpf.ViewportControl;component/Themes/Generic.xaml" />

</Application.Resources>

Usage

<controls:Viewport MinZoom="1" MaxZoom="50" ZoomSpeed="1.1">

    <Image Source="{Binding}" />

</controls:Viewport>