DocumentViewerBase.SetIsMasterPage(DependencyObject, Boolean) Método

Definición

Establece la propiedad adjunta IsMasterPage en un objeto de dependencia especificado.

public:
 static void SetIsMasterPage(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsMasterPage (System.Windows.DependencyObject element, bool value);
static member SetIsMasterPage : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsMasterPage (element As DependencyObject, value As Boolean)

Parámetros

element
DependencyObject

Objeto de dependencia en el que se establecerá el valor de IsMasterPage.

value
Boolean

Nuevo valor en el que se va a establecer la propiedad.

Excepciones

Se genera si el valor del parámetro element es null.

Comentarios

La página maestra corresponde al DocumentPageView objeto (en la PageViews colección) que incluye la IsMasterPage propiedad adjunta con un valor de true. Para obtener más información, vea IsMasterPage.

Se aplica a

Consulte también