public override FrameworkElement GetControl(DataPreviewPluginArgument arg) { TextViewControl grid = new TextViewControl(); grid.DataContext = arg; return(grid); }
private void find_next() { if (find_string == string.Empty) { return; } if (text_provider == null) { return; } TextViewControl.GotoText(find_string); }