DocumentViewerBase.SetIsMasterPage(DependencyObject, Boolean) Metodo

Definizione

Imposta la IsMasterPage proprietà associata su un oggetto dipendenza specificato.

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)

Parametri

element
DependencyObject

Oggetto dipendenza da cui impostare il valore di IsMasterPage.

value
Boolean

Nuovo valore su cui impostare la proprietà.

Eccezioni

Generato se l'elemento è Null.

Commenti

La pagina master corrisponde all'oggetto DocumentPageView (nell'insieme PageViews ) che include la IsMasterPage proprietà associata con il valore true. Per altre informazioni, vedere IsMasterPage.

Si applica a

Vedi anche