Version

WinPictureBox 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 WinPictureBox™ Smart Tag contains the name of the control, as well as the following sections:

  • Appearance — Provides common tasks involving the appearance, look, and feel of the control.

  • Layout — Offers properties that will determine where and how the control is placed on the form.

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.

ultrapicturebox's smart tag
Appearance Description Corresponding Property

Image

Click the ellipsis (…​) and an open file dialog will display. Choose the image you would like to show in the WinPictureBox.

Image Transparent Color

Click the drop-down and a color picker will display. Choose the color that will show as transparent in the image.

Reset Image

Clicking this will reset the WinPictureBox’s Image property to default (no picture).

Reset Image Transparent

Color

Clicking this will reset the WinPictureBox’s ImageTransparentColor property to default (no transparent color).

Layout Description Corresponding Property

AutoSize

Checking this checkbox will cause the WinPictureBox to resize itself based on the dimensions of the image inside.