FYI: I'm VERY new to WPF, so forgive me asking questions the wrong way....(or posting too much code)
Got an existing DataGrid in a form (actually a popup)
Now I was asked that if the individual items in the list are too long (> 5 words) to "cut it off" with a "..." and display a tooltip when the user hover over the item.Code:<DataGrid x:Name="itemsListBox" HeadersVisibility="None" VerticalGridLinesBrush="Transparent" HorizontalGridLinesBrush="Transparent" Grid.Row="6" MinHeight="45" MaxHeight="107.31" CanUserAddRows="False" CanUserDeleteRows="False" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserResizeRows="False" AutoGenerateColumns="False" Margin="8,4,8,4" ItemsSource="{Binding Items.ItemsDetailsList}" Background="Transparent" HorizontalScrollBarVisibility="Disabled" Style="{DynamicResource PopUpGrid}" SelectedItem="{Binding SelectedItemDetail, Mode=TwoWay}" BorderBrush="{x:Null}" >
A push in the right direction?


Reply With Quote

