Many nice features
This commit is contained in:
31
MaterialModernWPF/View/InfoDialog.xaml
Normal file
31
MaterialModernWPF/View/InfoDialog.xaml
Normal file
@ -0,0 +1,31 @@
|
||||
<UserControl x:Class="MaterialModernWPF.View.InfoDialog"
|
||||
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:MaterialModernWPF"
|
||||
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:system="clr-namespace:System;assembly=mscorlib"
|
||||
Width="300"
|
||||
d:DesignHeight="300"
|
||||
mc:Ignorable="d">
|
||||
<StackPanel Margin="16">
|
||||
<TextBlock Margin="0,0,0,10"
|
||||
FontSize="16"
|
||||
Text="NiftyTool NG" />
|
||||
<TextBlock FontSize="14" TextWrapping="Wrap">
|
||||
This app is proudly made with: Material Design, ModernWPF 2 and Autofac.
|
||||
</TextBlock>
|
||||
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||
<Button Margin="0,10,0,0"
|
||||
Command="materialDesign:DialogHost.CloseDialogCommand"
|
||||
IsDefault="True"
|
||||
Style="{StaticResource MaterialDesignFlatButton}">
|
||||
<Button.CommandParameter>
|
||||
<system:Boolean>True</system:Boolean>
|
||||
</Button.CommandParameter>
|
||||
CLOSE
|
||||
</Button>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</UserControl>
|
Reference in New Issue
Block a user