Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <UserControl
- 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:scwpf="http://schemas.microsoft.com/SystemCenter/Common/UI/Wpf"
- x:Class="CB.LendableCI.LendableCIForm"
- xmlns:Custom="http://schemas.microsoft.com/wpf/2008/toolkit"
- mc:Ignorable="d"
- d:DesignHeight="600" d:DesignWidth="500">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition Height="45"/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <TextBox Grid.Column="0" Grid.Row="0" Text="{Binding Path=CB_ItemID, Mode=OneWay}" IsEnabled="False" VerticalAlignment="Center" />
- <TabControl Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
- <TabItem TabIndex="0" Header="General">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Column="0" Grid.Row="0" Grid.ColumnSpan="2">
- <Label Content="Display Name:"/>
- <TextBox Text="{Binding DisplayName, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" Width="120" HorizontalAlignment="Left"/>
- </StackPanel>
- <StackPanel Grid.Column="0" Grid.Row="1" Grid.ColumnSpan="2">
- <Label Content="Status"/>
- <scwpf:ListPicker ParentCategoryId="3e1f693c-31d9-450f-5e17-a18b0dbf6bd4" SelectedItem="{Binding Path=CB_Status, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- <StackPanel Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Column="0" Grid.Row="0">
- <Label Content="Reserved Date:"/>
- <Custom:DatePicker SelectedDate="{Binding Path=CB_ReservedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- <StackPanel Grid.Column="1" Grid.Row="0">
- <Label Content="Borrowed Date:"/>
- <Custom:DatePicker SelectedDate="{Binding Path=CB_BorrowedDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- <StackPanel Grid.Column="2" Grid.Row="0">
- <Label Content="Return Date:"/>
- <Custom:DatePicker SelectedDate="{Binding Path=CB_ReturnDate, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/>
- </StackPanel>
- </Grid>
- </StackPanel>
- <StackPanel Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="2">
- <Grid>
- <Grid.ColumnDefinitions>
- <ColumnDefinition/>
- <ColumnDefinition/>
- </Grid.ColumnDefinitions>
- <Grid.RowDefinitions>
- <RowDefinition/>
- </Grid.RowDefinitions>
- <StackPanel Grid.Column="0" Grid.Row="0" Orientation="Vertical" >
- <Label Content="Reserved By:"/>
- <scwpf:SingleInstancePicker Instance="{Binding Path=IsReservedBy, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- BaseClassId="10a7f898-e672-ccf3-8881-360bfb6a8f9a"/>
- </StackPanel>
- <StackPanel Grid.Column="1" Grid.Row="0" Orientation="Vertical">
- <Label Content="Borrowed By:"/>
- <scwpf:SingleInstancePicker Instance="{Binding Path=IsBorrowedBy, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
- BaseClassId="10a7f898-e672-ccf3-8881-360bfb6a8f9a"/>
- </StackPanel>
- </Grid>
- </StackPanel>
- </Grid>
- </TabItem>
- </TabControl>
- </Grid>
- </UserControl>
Add Comment
Please, Sign In to add comment