1234567891011121314151617181920 |
- <UserControl x:Class="PixiEditor.Views.MainDrawingPanel"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PixiEditor.Views"
- xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
- xmlns:helpers="clr-namespace:PixiEditor.Helpers"
- xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800" x:Name="mainDrawingPanel">
- <xctk:Zoombox IsAnimated="False" Name="Zoombox" KeepContentInBounds="True" Loaded="Zoombox_Loaded" ZoomModifiers="None" >
- <i:Interaction.Triggers>
- <i:EventTrigger EventName="MouseMove">
- <i:InvokeCommandAction Command="{Binding MouseMoveCommand, ElementName=mainDrawingPanel, Mode=OneWay}"/>
- </i:EventTrigger>
- </i:Interaction.Triggers>
- <ContentPresenter Content="{Binding Item, ElementName=mainDrawingPanel}"/>
- </xctk:Zoombox>
- </UserControl>
|