ahancock1 / Han.Wpf.ViewportControl

A Wpf Viewport Control that provides pan and zoom functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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>

About

A Wpf Viewport Control that provides pan and zoom functionality.

License:MIT License


Languages

Language:C# 100.0%