A command to accomplish actions equivalent to pressing the Enter key.
public class EnterKeyCommand : MultiCommand
Public Class EnterKeyCommand Inherits MultiCommand
If the Document.CaretPosition falls within the hyperlink, then the action performed is the same as clicking the hyperlink, i.e. by default navigating the hyperlink Hyperlink.NavigateUri or Hyperlink.Anchor. Otherwise, the paragraph mark is inserted in the text.