コード例 #1
0
 /// <summary>
 /// Activates the document in the docking manager, which makes it the active document.
 /// </summary>
 /// <param name="document">The document.</param>
 /// <exception cref="ArgumentNullException">The <paramref name="document"/> is <c>null</c>.</exception>
 public static void ActivateDocument(CustomLayoutDocument document)
 {
     Argument.IsNotNull("document", document);
     LayoutDocumentPane.SelectedContentIndex = LayoutDocumentPane.IndexOfChild(document);
 }