I want to remove the dotted border around Romance, which can be seen in the above datagridcell. A border appears whenever I use the right navigation keys. How can I get rid of it?
You need to clear FocusVisualStyle from DataGridCells.
FocusVisualStyle
<DataGrid> <DataGrid.CellStyle> <Style TargetType="{x:Type DataGridCell}"> <Setter Property="FocusVisualStyle" Value="{x:Null}"/> </Style> </DataGrid.CellStyle> ...
Source: https://habr.com/ru/post/1382947/More articles:How do I know if WPF MediaElement really plays video? - c #Magento: Custom totals counted twice? - magentoResizing a control using Java JSplitPane - javaHow to get friends friends friends / men - facebookphp code to add a record to the database - phpHow to create an ASP.NET RecaptchaControl Custom tamplate - asp.netjQuery UI Drag and Drop - javascriptHow to create Sencha Touch with sencha-touch.jsb3? - javascriptWhat is the best way to store one-to-many or many-to-many relationships in PostgreSQL? - sqlAre GitHub sources explored by search engines? - githubAll Articles