public TextMarkerInputBox(VisualTextMarker marker) { InitializeComponent(); _marker = marker; DataContext = _marker; Loaded += TextMarkerInputBox_Loaded; }
public static void SetMarkerData(VisualTextMarker marker) { TextMarkerInputBox inputBox = new TextMarkerInputBox(marker); inputBox.ShowDialog(); }