1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <UserControl x:Class="PRSDesktop.RequisitionsDock"
- 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:PRSDesktop"
- mc:Ignorable="d"
- d:DesignHeight="800" d:DesignWidth="300">
- <Grid
- x:Name="_grid">
- <Grid.RowDefinitions>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="150"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="Auto"/>
- <RowDefinition Height="200"/>
- <RowDefinition Height="*"/>
- </Grid.RowDefinitions>
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="*"/>
- <ColumnDefinition Width="Auto"/>
- </Grid.ColumnDefinitions>
-
- <Border
- Grid.Row="0"
- Grid.Column="0"
- BorderBrush="Gray"
- BorderThickness="0.75"
- Background="WhiteSmoke">
- <Label
- Content="My Requsitions"
- HorizontalContentAlignment="Center"/>
- </Border>
-
- <Button
- Grid.Row="0"
- Grid.Column="1"
- Content="Add"
- Margin="2,0,0,0"
- Padding="5,0"
- BorderBrush="Gray"
- BorderThickness="0.75"/>
-
- <Border
- Grid.Row="2"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Margin="0,2,0,0"
- BorderBrush="Gray"
- BorderThickness="0.75,0.75,0.75,0"
- Background="WhiteSmoke">
- <Label
- Content="Requisition Title"
- HorizontalContentAlignment="Center"/>
- </Border>
-
- <TextBox
- x:Name="Title"
- Grid.Row="3"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Background="LightYellow"
- Padding="5"
- IsEnabled="False"
- BorderBrush="Gray"
- LostFocus="Title_OnLostFocus"/>
-
- <Border
- Grid.Row="4"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Margin="0,2,0,0"
- BorderBrush="Gray"
- BorderThickness="0.75,0.75,0.75,0"
- Background="WhiteSmoke">
- <Label
- Content="Requisition Description"
- HorizontalContentAlignment="Center"/>
- </Border>
-
- <TextBox
- x:Name="Notes"
- Grid.Row="5"
- Grid.Column="0"
- Grid.ColumnSpan="2"
- Padding="5"
- IsEnabled="False"
- Background="LightYellow"
- BorderBrush="Gray"
- TextWrapping="WrapWithOverflow"
- LostFocus="Notes_OnLostFocus"/>
-
- </Grid>
- </UserControl>
|