Skip to main content
A newer version of this page is available. .

PageViewModel.Create(Page) Method

Creates a new PageViewModel class descendant with the specified settings.

Namespace: DevExpress.Xpf.Printing.PreviewControl

Assembly: DevExpress.Xpf.Printing.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Printing, DevExpress.Wpf.Printing

Declaration

public static PageViewModel Create(
    Page page
)

Parameters

Name Type Description
page Page

A Page object.

Returns

Type Description
PageViewModel

A PageViewModel object.

See Also