Skip to main content

IPrintable.PropertyEditorControl Property

If implemented by a class, returns a form which allows a user to set printing properties when implemented by a class.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Utils.v24.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

UserControl PropertyEditorControl { get; }

Property Value

Type Description
UserControl

The Property editor form that enables users to customize print options of a control.

Remarks

The Property editor is a custom form that allows a user to customize printing properties of the IPrintable control. You can create a form derived from the System.Windows.Forms.UserControl class and arrange different visual elements on it to enable a user to visually set printing properties for a control

The Property editor is activated at design time, for instance, in the Link Collection Editor for the PrintingSystem component by pressing the PropertyEditorButton button.

When the Property editor is activated, the “Ok”, “Cancel”, “Apply”, and “Help” buttons are also displayed at the bottom of the Property editor form. If you want to supply the help system for the Property editor, you should use the IPrintable.SupportsHelp and IPrintable.ShowHelp methods. The first method is called to determine whether the help system is available for the Property editor. The second method must invoke the help system itself.

To apply changes made to the control with the help of the Property editor, a user presses the “Apply” or “Ok” button, which calls the IPrintable.AcceptChanges method. To cancel changes made to the control a user presses the “Cancel” button, which invokes the IPrintable.RejectChanges method.

See Also