Version

WinPrintDocument Smart Tag

In Visual Studio 2005 (.NET Framework 2.0), each Ultimate UI for Windows Forms control/component is equipped with a Smart Tag. By simply selecting the control/component, a Smart Tag anchor appears. When you click this anchor, a pop-up panel appears, providing you with quick and easy access to the most common properties and settings of the control/component.

The WinPrintDocument™ Smart Tag contains the name of the component, as well as the following sections:

  • Misc — Provides various options that will enhance the overall look or performance of the control.

  • Serialization — Provides quick access to properties used in the IPersistComponentSettings interface (new in Visual Studio 2005).

See below for a description of the item (e.g., field, drop-down list, checkbox) in each section, as well as the item’s corresponding property in the properties grid.

ultraprintdocument's smart tag
Misc Description Corresponding Property

Name of Document

Enter a name for the document that will be shown to the user.

DocumentName

Serialization Description Corresponding Property

Save Settings

If you select this checkbox, the component will automatically load/save its property settings with the application’s settings.

Format of Saved Settings

The component can save its settings in either binary or XML format.

Settings Key

You can specify the settings key that will be used to uniquely identify the settings' values that will be loaded/saved. By default, Visual Studio 2005 sets the settings key value based on the name of the containing form/control and the name of the component.