MS\Internal\Media\VisualTreeUtils.cs (11)
57Visual visual;
64Visual.PropagateFlags(visual, flags, proxyFlags);
79Visual visual;
100Visual visual;
218if (!(element is Visual || element is Visual3D))
230internal static void AsNonNullVisual(DependencyObject element, out Visual visual, out Visual3D visual3D)
246internal static void AsVisual(DependencyObject element, out Visual visual, out Visual3D visual3D)
276internal static bool AsVisualInternal(DependencyObject element, out Visual visual, out Visual3D visual3D)
314private static bool AsVisualHelper(DependencyObject element, out Visual visual, out Visual3D visual3D)
316Visual elementAsVisual = element as Visual;
MS\Internal\LayoutDump.cs (35)
42internal static string DumpLayoutAndVisualTreeToString(string tagName, Visual root)
65internal static void DumpLayoutAndVisualTree(XmlTextWriter writer, string tagName, Visual root)
197internal static void DumpVisual(XmlTextWriter writer, Visual visual, Visual parent)
240private static void DumpUIElement(XmlTextWriter writer, UIElement element, Visual parent, bool uiElementsOnly)
294internal static void DumpDocumentPage(XmlTextWriter writer, DocumentPage page, Visual parent)
332private static void DumpVisualChildren(XmlTextWriter writer, string tagName, Visual visualParent)
353internal static void DumpUIElementChildren(XmlTextWriter writer, string tagName, Visual visualParent)
417internal static void GetUIElementsFromVisual(Visual visual, List<UIElement> uiElements)
423Visual child = visual.InternalGetVisualChild(i);
643private static void DumpLineResults(XmlTextWriter writer, ReadOnlyCollection<LineResult> lines, Visual visualParent)
684private static void DumpParagraphResults(XmlTextWriter writer, string tagName, ReadOnlyCollection<ParagraphResult> paragraphs, Visual visualParent)
732private static void DumpTextParagraphResult(XmlTextWriter writer, TextParagraphResult paragraph, Visual visualParent)
741Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
754private static void DumpContainerParagraphResult(XmlTextWriter writer, ContainerParagraphResult paragraph, Visual visualParent)
763Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
772private static void DumpFloaterParagraphResult(XmlTextWriter writer, FloaterParagraphResult paragraph, Visual visualParent)
781Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
790private static void DumpUIElementParagraphResult(XmlTextWriter writer, UIElementParagraphResult paragraph, Visual visualParent)
799Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
807private static void DumpFigureParagraphResult(XmlTextWriter writer, FigureParagraphResult paragraph, Visual visualParent)
816Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
825private static void DumpTableParagraphResult(XmlTextWriter writer, TableParagraphResult paragraph, Visual visualParent)
830Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
837Visual rowVisual = visual.InternalGetVisualChild(i);
843Visual cellVisual = rowVisual.InternalGetVisualChild(j);
854private static void DumpSubpageParagraphResult(XmlTextWriter writer, SubpageParagraphResult paragraph, Visual visualParent)
863Visual visual = DumpParagraphOffset(writer, paragraph, visualParent);
872private static void DumpColumnResults(XmlTextWriter writer, ReadOnlyCollection<ColumnResult> columns, Visual visualParent)
898private static Visual DumpParagraphOffset(XmlTextWriter writer, ParagraphResult paragraph, Visual visualParent)
905Visual visual = (Visual)prop.GetValue(paraClient, null);
943private static void DumpTableCell(XmlTextWriter writer, ParagraphResult paragraph, Visual cellVisual, Visual tableVisual)