| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 | 
							- <UserControl x:Class="MECF.Framework.UI.Client.CenterViews.Dialogs.ItemsSelectDialogView"
 
-              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:i="http://schemas.microsoft.com/expression/2010/interactivity"
 
-               xmlns:cal="clr-namespace:Caliburn.Micro"
 
-              xmlns:local="clr-namespace:MECF.Framework.UI.Client.CenterViews.Dialogs" 
 
-              xmlns:converters="clr-namespace:Aitex.Core.UI.Converters;assembly=MECF.Framework.UI.Core"
 
-              mc:Ignorable="d"    
 
-              d:DesignHeight="300" d:DesignWidth="300">
 
-     <UserControl.Resources>
 
-         <converters:BoolToValueConverter x:Key="BoolToValueConverter"/>
 
-     </UserControl.Resources>
 
-     <Border BorderBrush="Black" BorderThickness="1">
 
-         <DockPanel Background="{StaticResource MainArea_BG}">
 
-             <StackPanel DockPanel.Dock="Bottom" Orientation="Horizontal" HorizontalAlignment="Center">
 
-                 <Button x:Name="btnOk" Content="Ok" Width="80" Height="40" Margin="0,0,20,0" Style="{StaticResource CommandButton}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="OK"/>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-                 <Button x:Name="btnClose" Content="Cancel"  Style="{StaticResource CommandButton}">
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="Click">
 
-                             <cal:ActionMessage MethodName="Cancel"/>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </Button>
 
-             </StackPanel>
 
-             <Border BorderThickness="1" BorderBrush="Black" Margin="5" MaxHeight="600">
 
-                 <ListBox ItemsSource="{Binding Items}">
 
-                     <ListBox.ItemsPanel>
 
-                         <ItemsPanelTemplate>
 
-                             <UniformGrid Columns="{Binding ColumnsCount}"/>
 
-                         </ItemsPanelTemplate>
 
-                     </ListBox.ItemsPanel>
 
-                     <ListBox.ItemTemplate>
 
-                         <DataTemplate>
 
-                             <Button Content="{Binding Name}" Visibility="{Binding IsChecked, Converter={StaticResource BoolToValueConverter}}">
 
-                                 <i:Interaction.Triggers>
 
-                                     <i:EventTrigger EventName="Click">
 
-                                         <cal:ActionMessage MethodName="SelectItem">
 
-                                             <cal:Parameter Value="{Binding}"/>
 
-                                         </cal:ActionMessage>
 
-                                     </i:EventTrigger>
 
-                                 </i:Interaction.Triggers>
 
-                                 <Button.Resources>
 
-                                     <Style TargetType="Button" BasedOn="{StaticResource CommandButton}">
 
-                                         <Setter Property="Foreground" Value="Black"/>
 
-                                         <Setter Property="IsEnabled" Value="{Binding IsEnable}"/>
 
-                                         <Setter Property="Width" Value="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}, Path=DataContext.ButtonWidth}"/>
 
-                                         <Setter Property="Height" Value="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}, Path=DataContext.ButtonHeight}"/>
 
-                                         <Setter Property="Margin" Value="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=UserControl}, Path=DataContext.ButtonMargin}"/>
 
-                                         <Style.Triggers>
 
-                                             <DataTrigger Binding="{Binding IsChecked}" Value="True">
 
-                                                 <Setter Property="Background" Value="{StaticResource Button_BG_MouseOver}"/>
 
-                                             </DataTrigger>
 
-                                         </Style.Triggers>
 
-                                     </Style>
 
-                                 </Button.Resources>
 
-                             </Button>
 
-                         </DataTemplate>
 
-                     </ListBox.ItemTemplate>
 
-                     <i:Interaction.Triggers>
 
-                         <i:EventTrigger EventName="MouseDoubleClick">
 
-                             <cal:ActionMessage MethodName="TreeMouseDoubleClick">
 
-                                 <cal:Parameter Value="{Binding SelectedItem, ElementName=PART_TREE}" />
 
-                             </cal:ActionMessage>
 
-                         </i:EventTrigger>
 
-                     </i:Interaction.Triggers>
 
-                 </ListBox>
 
-             </Border>
 
-         </DockPanel>
 
-     </Border>
 
- </UserControl>
 
 
  |