Skip to main content

PageViewModel.Create(Page) Method

Creates a new PageViewModel class descendant with the specified settings.

Namespace: DevExpress.Xpf.Printing.PreviewControl

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

NuGet Package: 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