DocumentViewerBase.GetMasterPageView Metoda

Definice

Vrátí aktuální předlohu DocumentPageView pro tento prohlížeč.

protected:
 System::Windows::Controls::Primitives::DocumentPageView ^ GetMasterPageView();
protected System.Windows.Controls.Primitives.DocumentPageView GetMasterPageView ();
member this.GetMasterPageView : unit -> System.Windows.Controls.Primitives.DocumentPageView
Protected Function GetMasterPageView () As DocumentPageView

Návraty

Aktuální předloha DocumentPageView pro tento prohlížeč nebo null , pokud nelze najít žádnou předlohu DocumentPageView .

Poznámky

Objekt DocumentPageView poskytuje zobrazení pro určitou stránku obsahu (reprezentovanou podkladovým DocumentPageobjektem ). Stránka předlohy odpovídá objektu DocumentPageView (v kolekci PageViews ), který obsahuje IsMasterPage přidruženou vlastnost s hodnotou true. Další informace naleznete v tématu IsMasterPage.

Platí pro

Viz také