UserControls/ToolboxUserControl.xaml
(开头部分) 8KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<UserControl x:Class="DrawingPad.UserControls.ToolBoxUserControl"
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:DrawingPad.UserControls"
xmlns:kcontrol="clr-namespace:WPFToolkit.Controls;assembly=WPFToolkit"
xmlns:me="clr-namespace:WPFToolkit.MarkupExtensions;assembly=WPFToolkit"
xmlns:graphics="clr-namespace:DrawingPad.Graphics"
xmlns:kitme="clr-namespace:WPFToolkit.MarkupExtensions;assembly=WPFToolkit"
xmlns:pad="clr-namespace:DrawingPad"
mc:Ignorable="d"
d:DesignHeight="70" d:DesignWidth="800"
DataContext="{Binding Source={x:Static pad:PadContext.Context}, Path=ToolboxVM}">
<UserControl.Resources>
<pad:LineStyleImageConverter x:Key="LineStyleImageConverter"/>
<Style x:Key="StyleKDividerLocal" TargetType="{x:Type kcontrol:KDivider}">
<Setter Property="Color" Value="Silver"/>
<Setter Property="Orientation" Value="Vertical"/>
<Setter Property="Margin" Value="15,23,15,23"/>
</Style>
<Style x:Key="StyleToggleButtonLocal" TargetType="{x:Type ToggleButton}">
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="25"/>
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
<Setter Property="HorizontalContentAlignment" Value="Center"/>
<Setter Property="Margin" Value="0,0,7,0"/>
</Style>
<Style x:Key="StyleKButtonLocal" TargetType="{x:Type kcontrol:KButton}">
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="Margin" Value="5,0,5,0"/>
</Style>
<Style x:Key="StyleKColorPickerLocal" TargetType="{x:Type kcontrol:KColorPicker}">
<Setter Property="Width" Value="30"/>
<Setter Property="Height" Value="30"/>
<Setter Property="Margin" Value="5,0,5,0"/>
</Style>
<Style x:Key="StyleImageLocal" TargetType="{x:Type Image}">
<Setter Property="Width" Value="18"/>
<Setter Property="Height" Value="18"/>
</Style>
<Style x:Key="StyleKComboBoxLocal" TargetType="{x:Type kcontrol:KComboBox}">
<Setter Property="Width" Value="80"/>
<Setter Property="Margin" Value="10,0,10,0"/>
</Style>
</UserControl.Resources>
<Grid>
<TabControl>
后面还有 84 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。