重命名控件库
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<n:NeoWindow
|
||||
x:Class="VariaStudioTest.IconsWindow"
|
||||
<ms:MelWindow
|
||||
x:Class="MelskinTest.IconsWindow"
|
||||
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:local="clr-namespace:VariaStudioTest"
|
||||
xmlns:local="clr-namespace:MelskinTest"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:n="https://github.com/ShrlAlgo/NeoUI"
|
||||
xmlns:ms="https://github.com/ShrlAlgo/Melskin"
|
||||
Title="图标预览"
|
||||
Width="820"
|
||||
Height="450"
|
||||
@@ -36,14 +36,14 @@
|
||||
VerticalContentAlignment="Center"
|
||||
FontSize="14"
|
||||
Text="{Binding SearchText, UpdateSourceTrigger=PropertyChanged}">
|
||||
<n:InputAssist.Suffix>
|
||||
<n:IconElement
|
||||
<ms:InputAssist.Suffix>
|
||||
<ms:IconElement
|
||||
Margin="0,0,10,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="18"
|
||||
Foreground="Gray"
|
||||
Symbol="Search" />
|
||||
</n:InputAssist.Suffix>
|
||||
</ms:InputAssist.Suffix>
|
||||
</TextBox>
|
||||
</Grid>
|
||||
</Border>
|
||||
@@ -54,7 +54,7 @@
|
||||
Padding="10"
|
||||
BorderBrush="LightGray"
|
||||
BorderThickness="0,0,0,1">
|
||||
<n:FlexibleRowPanel LayoutMode="Auto">
|
||||
<ms:FlexibleRowPanel LayoutMode="Auto">
|
||||
<TextBlock
|
||||
VerticalAlignment="Center"
|
||||
FontWeight="Bold"
|
||||
@@ -65,7 +65,7 @@
|
||||
Margin="10,0"
|
||||
Padding="5"
|
||||
VerticalAlignment="Center"
|
||||
n:FlexibleRowPanel.IsFill="True"
|
||||
ms:FlexibleRowPanel.IsFill="True"
|
||||
FontWeight="Bold"
|
||||
Foreground="{DynamicResource PrimaryNormalBrush}"
|
||||
IsReadOnly="True"
|
||||
@@ -75,11 +75,11 @@
|
||||
VerticalAlignment="Center"
|
||||
Click="CopyCode_Click"
|
||||
Content="复制代码" />
|
||||
<n:ColorPicker
|
||||
<ms:ColorPicker
|
||||
x:Name="ColorPicker"
|
||||
Margin="10,0,0,0"
|
||||
VerticalAlignment="Center" />
|
||||
</n:FlexibleRowPanel>
|
||||
</ms:FlexibleRowPanel>
|
||||
</Border>
|
||||
|
||||
<!-- 第三行: 图标浏览器 -->
|
||||
@@ -102,7 +102,7 @@
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<StackPanel HorizontalAlignment="Center">
|
||||
<n:IconElement
|
||||
<ms:IconElement
|
||||
FontSize="32"
|
||||
Foreground="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=ListBox}, Path=Foreground}"
|
||||
Symbol="{Binding}"
|
||||
@@ -131,4 +131,4 @@
|
||||
</ListBox.ItemContainerStyle>-->
|
||||
</ListBox>
|
||||
</Grid>
|
||||
</n:NeoWindow>
|
||||
</ms:MelWindow>
|
||||
|
||||
Reference in New Issue
Block a user