update pr/58
This commit is contained in:
1 parent
e9329ef982
commit
ce93f34467
8 files changed
+65
-112
No files matched your search
@@ -3,31 +3,14 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
|
||||
xmlns:controls="clr-namespace:HandyControl.Controls;assembly=HandyControl"
|
||||
xmlns:interactivity="clr-namespace:HandyControl.Interactivity;assembly=HandyControl"
|
||||
CornerRadius="10"
|
||||
Width="400"
|
||||
Height="247"
|
||||
DataContext="{Binding Path=InteractiveDialog, Source={StaticResource Locator}}"
|
||||
DataContext="{Binding InteractiveDialog, Source={StaticResource Locator}}"
|
||||
Background="{DynamicResource RegionBrush}">
|
||||
<controls:SimplePanel>
|
||||
<TextBlock Style="{StaticResource TextBlockLargeBold}"
|
||||
Text="{Binding Message}"
|
||||
Margin="30"
|
||||
VerticalAlignment="Top" />
|
||||
|
||||
<TextBox x:Name="TextBox"
|
||||
Style="{StaticResource TextBoxBaseStyle}"
|
||||
Text="{x:Static langs:Lang.PleaseInput}"
|
||||
Margin="70"
|
||||
VerticalAlignment="Top" />
|
||||
<Button Width="120"
|
||||
Height="32"
|
||||
Command="{Binding CloseCommand}"
|
||||
CommandParameter="{Binding Path=Text, ElementName=TextBox}"
|
||||
Style="{StaticResource ButtonPrimary}"
|
||||
Content="{x:Static langs:Lang.Ok}"
|
||||
HorizontalAlignment="Center"
|
||||
VerticalAlignment="Bottom"
|
||||
Margin="0 0 0 30" />
|
||||
</controls:SimplePanel>
|
||||
<StackPanel VerticalAlignment="Center" Margin="32">
|
||||
<TextBlock Style="{StaticResource TextBlockLargeBold}" Text="{Binding Message}"/>
|
||||
<TextBox Margin="0,32,0,0" Style="{StaticResource TextBoxExtend}" Text="{Binding Result,UpdateSourceTrigger=PropertyChanged}" controls:InfoElement.Placeholder="{x:Static langs:Lang.PleaseInput}"/>
|
||||
<Button Width="120" Margin="0,32,0,0" Command="{Binding CloseCmd}" Style="{StaticResource ButtonPrimary}" Content="{x:Static langs:Lang.Ok}"/>
|
||||
</StackPanel>
|
||||
</Border>
|
||||
Reference in new issue
Block a user