Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Window bla bla bla>
- <Window.Resources>
- <ResourceDictionary>
- <ResourceDictionary.MergedDictionaries>
- <ResourceDictionary Source="Dictionaries/DataTemplates.xaml"/>
- <ResourceDictionary>
- <converters:DAVMDocumentConverter x:Key="DocumentConverter"/>
- <c:CommandReference Command="{Binding CloseOrderCommand}" x:Key="CloseOrder"/>
- <DataTemplate DataType="vm:iPBXOrderViewModel">
- <Grid Visibility="{Binding Parent.IsActive}" Margin="3">
- <Grid.RowDefinitions>
- <RowDefinition Height="25"/>
- <RowDefinition />
- </Grid.RowDefinitions>
- <Border Focusable="False" Name="TitleBorder" Grid.Column="0" CornerRadius="5,5,0,0" Background="{StaticResource ResourceKey=SectionBackground}" BorderBrush="{StaticResource ResourceKey=SectionHeaderBorder}" BorderThickness="1">
- <TextBlock Foreground="Black" FontWeight="Bold" FontSize="14" FontFamily="Arial" Text="{Binding Header}"
- Margin="2" HorizontalAlignment="Center" Focusable="False">
- </TextBlock>
- </Border>
- <Border Grid.Row="1" BorderBrush="{StaticResource ResourceKey=SectionHeaderBorder}" BorderThickness="0,1,0,0" Focusable="False">
- <Border BorderBrush="#D3EAF8" BorderThickness="0,1,0,0" Focusable="False">
- <Border Background="{StaticResource ResourceKey=HeaderBackground}" BorderBrush="#999999" BorderThickness="1,0,1,1" Focusable="False">
- <UniformGrid Rows="1" Columns="4" Focusable="False">
- <v:iPBXMainView DataContext="{Binding}" IsEnabled="{Binding Path=IsEnabled}" Focusable="False"/>
- <v:AssetListView DataContext="{Binding}" IsEnabled="{Binding Path=IsEnabled}" Focusable="False"/>
- <v:TelephoneNumberListView DataContext="{Binding}" IsEnabled="{Binding Path=IsEnabled}" Focusable="False"/>
- <v:VoicemailNumberListView DataContext="{Binding}" IsEnabled="{Binding Path=IsEnabled}" Focusable="False"/>
- </UniformGrid>
- </Border>
- </Border>
- </Border>
- </Grid>
- </DataTemplate>
- </ResourceDictionary>
- </ResourceDictionary.MergedDictionaries>
- </ResourceDictionary>
- </Window.Resources>
- <Grid>
- <Grid Panel.ZIndex="1">
- <Grid Grid.Column="1">
- <Border Grid.Row="3" Margin="2,0,0,0" CornerRadius="0,0,0,5" Background="#C3DAE8" BorderBrush="{StaticResource ResourceKey=SectionHeaderBorder}" BorderThickness="2,1,0,1" MinHeight="50">
- <ScrollViewer VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Visible">
- <ItemsControl ItemsSource="{Binding Path=Documents}" Focusable="False" Background="Transparent">
- </ItemsControl>
- </ScrollViewer>
- </Border>
- </Grid>
- </Grid>
- </Grid>
- </Window>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement