Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

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