Skip to main content

PrintPreviewFormExBase.SaveState Property

Specifies whether the Print Preview Form‘s size, position and zoom setting are saved to the Windows registry.

Namespace: DevExpress.XtraPrinting.Preview

Assembly: DevExpress.XtraPrinting.v23.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.Printing

Declaration

[DefaultValue(true)]
public bool SaveState { get; set; }

Property Value

Type Default Description
Boolean true

true if Print Preview Form settings are saved in the Windows registry; otherwise, false.

Remarks

If the SaveState property is set to true, Print Preview Form settings are written to the Windows registry each time the application is closed and retrieved from the registry each time the application starts.

See Also