private void JustifyRightExecuted(object sender, ExecutedRoutedEventArgs e) { if (htmldoc != null) { htmldoc.JustifyRight(); } }