WPF实现在InkCanvas上的绘画以及擦除操作(ComboBox)demo

  • Post author:
  • Post category:其他


可下拉菜单选择操作类型,进行绘画,移动控件等操作

MainWindow.xmal

<Window x:Class="WpfApp10.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:WpfApp10"
        mc:Ignorable="d"
        Title="MainWindow" Height="493.935" Width="871.893" Loaded="Window_Loaded">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
            <ComboBo



版权声明:本文为weixin_46114397原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。