123456789101112131415161718192021 |
- <Window x:Class="FWindSoft.Wpf.WinMessageTip"
- 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"
- WindowStartupLocation="CenterOwner" Width="180" MinWidth="180" MaxWidth="400" Height="120" MinHeight="120" MaxHeight="300"
- ResizeMode="NoResize" SizeToContent="WidthAndHeight">
- <Grid >
- <Grid.RowDefinitions>
- <RowDefinition></RowDefinition>
- <RowDefinition Height="38"></RowDefinition>
- </Grid.RowDefinitions>
- <ScrollViewer VerticalScrollBarVisibility="Auto">
- <TextBlock x:Name="TxtMessage" Margin="20" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"></TextBlock>
- </ScrollViewer>
- <Border Grid.Row="1" BorderBrush="Black" BorderThickness="0,1,0,0" >
- <StackPanel x:Name="StackButtons" Margin="4" Orientation="Horizontal" HorizontalAlignment="Right"></StackPanel>
- </Border>
-
- </Grid>
- </Window>
|