ControlAttributes Enumeration

Microsoft Deployment Tools

Deployment Tools Foundation ControlAttributes Enumeration
Deployment Tools Foundation NamespacesMicrosoft.Deployment.WindowsInstallerControlAttributes
Defines flags for the Attributes column of the Control table.
Declaration Syntax
C# Visual Basic Visual C++
[FlagsAttribute]
public enum ControlAttributes
<FlagsAttribute> _
Public Enumeration ControlAttributes
[FlagsAttribute]
public enum class ControlAttributes
Members
Member Description
Visible
If this bit is set, the control is visible on the dialog box.

Enabled
specifies if the given control is enabled or disabled. Most controls appear gray when disabled.

Sunken
If this bit is set, the control is displayed with a sunken, three dimensional look.

Indirect
The Indirect control attribute specifies whether the value displayed or changed by this control is referenced indirectly.

Integer
If this bit is set on a control, the associated property specified in the Property column of the Control table is an integer.

RightToLeftReadingOrder
If this bit is set the text in the control is displayed in a right-to-left reading order.

RightAligned
If this style bit is set, text in the control is aligned to the right.

LeftScroll
If this bit is set, the scroll bar is located on the left side of the control, otherwise it is on the right.

Bidirectional
This is a combination of the RightToLeftReadingOrder, RightAligned, and LeftScroll attributes.

Transparent
If this bit is set on a text control, the control is displayed transparently with the background showing through the control where there are no characters.

NoPrefix
If this bit is set on a text control, the occurrence of the character "&" in a text string is displayed as itself.

NoWrap
If this bit is set the text in the control is displayed on a single line.

FormatSize
If this bit is set for a text control, the control will automatically attempt to format the displayed text as a number representing a count of bytes.

UsersLanguage
If this bit is set, fonts are created using the user's default UI code page. Otherwise it is created using the database code page.

Multiline
If this bit is set on an Edit control, the installer creates a multiple line edit control with a vertical scroll bar.

PasswordInput
This attribute creates an edit control for entering passwords. The control displays each character as an asterisk (*) as they are typed into the control.

Progress95
If this bit is set on a ProgressBar control, the bar is drawn as a series of small rectangles in Microsoft Windows 95-style. Otherwise it is drawn as a single continuous rectangle.

RemovableVolume
If this bit is set, the control shows removable volumes.

FixedVolume
If this bit is set, the control shows fixed internal hard drives.

RemoteVolume
If this bit is set, the control shows remote volumes.

CdromVolume
If this bit is set, the control shows CD-ROM volumes.

RamDiskVolume
If this bit is set, the control shows RAM disk volumes.

FloppyVolume
If this bit is set, the control shows floppy volumes.

ShowRollbackCost
Specifies whether or not the rollback backup files are included in the costs displayed by the VolumeCostList control.

Sorted
If this bit is set, the items listed in the control are displayed in a specified order. Otherwise, items are displayed in alphabetical order.

ComboList
If this bit is set on a combo box, the edit field is replaced by a static text field. This prevents a user from entering a new value and requires the user to choose only one of the predefined values.

PushLike
If this bit is set on a check box or a radio button group, the button is drawn with the appearance of a push button, but its logic stays the same.

Bitmap
If this bit is set, the text in the control is replaced by a bitmap image. The Text column in the Control table is a foreign key into the Binary table.

Icon
If this bit is set, text is replaced by an icon image and the Text column in the Control table is a foreign key into the Binary table.

FixedSize
If this bit is set, the picture is cropped or centered in the control without changing its shape or size.

IconSize16
Specifies which size of the icon image to load. If none of the bits are set, the first image is loaded.

IconSize32
Specifies which size of the icon image to load. If none of the bits are set, the first image is loaded.

IconSize48
Specifies which size of the icon image to load. If none of the bits are set, the first image is loaded.

ElevationShield
If this bit is set, and the installation is not yet running with elevated privileges, the control is created with a UAC icon.

HasBorder
If this bit is set, the RadioButtonGroup has text and a border displayed around it.

Assembly: Microsoft.Deployment.WindowsInstaller (Module: Microsoft.Deployment.WindowsInstaller) Version: 3.0.0.0 (3.5.1623.0)