<sdk:DataGrid AutoGenerateColumns="False" Height="Auto" MaxHeight="500" HorizontalAlignment="Left" Margin="5" Name="_EmployeeGrid" ItemsSource="{Binding Path= Employees,Mode=TwoWay}" HorizontalScrollBarVisibility="Auto" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" Visibility="Visible" VerticalAlignment="Top" Width="Auto">
<sdk:DataGridTemplateColumn x:Name="Notes1" Header="Notes"> <sdk:DataGridTemplateColumn.CellTemplate> <DataTemplate> <StackPanel Orientation="Horizontal" > <TextBlock MaxWidth="200" TextAlignment="Left" TextWrapping= "Wrap" Text="{Binding Path=Comments, Mode=OneWay}" Width="200" /> <HyperlinkButton Name="btnEllipsis" Visibility="{Binding EllipsisVisibility,Source={StaticResource ViewModel}}" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="15" Content="..." ToolTipService.ToolTip="Click For More" Command="{Binding NotesCommand,Source={StaticResource ViewModel}}" CommandParameter="{Binding}" > </HyperlinkButton> </StackPanel> </DataTemplate> </sdk:DataGridTemplateColumn.CellTemplate> </sdk:DataGridTemplateColumn> </sdk:DataGrid>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)