C# Class WixSharp.Controls.Control

Defines generic WiX Control.
Inheritance: WixEntity
Show file Open project: Eun/WixSharp

Public Properties

Property Type Description
Actions List
Conditions List
Disabled bool
EmbeddedXML string
Height int
Hidden bool
Property string
Text string
Tooltip string
Type string
Width int
X int
Y int

Public Methods

Method Description
Control ( ) : System.Collections.Generic

Initializes a new instance of the Control class.

Control ( Id id ) : System.Collections.Generic

Initializes a new instance of the Control class.

ToXElement ( ) : System.Xml.Linq.XElement

Converts the T:WixSharp.Control instance into WiX T:System.Xml.Linq.XElement.

Method Details

Control() public method

Initializes a new instance of the Control class.
public Control ( ) : System.Collections.Generic
return System.Collections.Generic

Control() public method

Initializes a new instance of the Control class.
public Control ( Id id ) : System.Collections.Generic
id Id The Control id.
return System.Collections.Generic

ToXElement() public method

Converts the T:WixSharp.Control instance into WiX T:System.Xml.Linq.XElement.
public ToXElement ( ) : System.Xml.Linq.XElement
return System.Xml.Linq.XElement

Property Details

Actions public property

The actions.
public List Actions
return List

Conditions public property

Conditions for the control.
public List Conditions
return List

Disabled public property

Sets whether the control is disabled.
public bool Disabled
return bool

EmbeddedXML public property

The raw XML string to be embedded into WiX Control element.
public string EmbeddedXML
return string

Height public property

Vertical coordinate of the upper-left corner of the rectangular boundary of the control. This must be a non-negative number.
public int Height
return int

Hidden public property

Sets whether the control is hidden.
public bool Hidden
return bool

Property public property

The name of a defined property to be linked to this control. This column is required for active controls.
public string Property
return string

Text public property

A localizable string used to set the initial text contained in a control. This attribute can contain a formatted string that is processed at install time to insert the values of properties using [PropertyName] syntax. Also supported are environment variables, file installation paths, and component installation directories.
public string Text
return string

Tooltip public property

The string used for the Tooltip.
public string Tooltip
return string

Type public property

The type of the control. Could be one of the following: Billboard, Bitmap, CheckBox, ComboBox, DirectoryCombo, DirectoryList, Edit, GroupBox, Icon, Line, ListBox, ListView, MaskedEdit, PathEdit, ProgressBar, PushButton, RadioButtonGroup, ScrollableText, SelectionTree, Text, VolumeCostList, VolumeSelectCombo. Use constants to define the type of the control.
public string Type
return string

Width public property

Width of the rectangular boundary of the control. This must be a non-negative number.
public int Width
return int

X public property

Horizontal coordinate of the upper-left corner of the rectangular boundary of the control. This must be a non-negative number.
public int X
return int

Y public property

Width of the rectangular boundary of the control. This must be a non-negative number.
public int Y
return int