Click or drag to resize

ControlOptionsAttribute Constructor

Constructor allowing to specify control common parameters

Namespace:  CodeStack.SwEx.PMPage.Attributes
Assembly:  CodeStack.SwEx.PMPage (in CodeStack.SwEx.PMPage.dll) Version: 0.7.2.0 (0.7.2.0)
Syntax
public ControlOptionsAttribute(
	swAddControlOptions_e opts = swAddControlOptions_e.swControlOptions_Visible|swAddControlOptions_e.swControlOptions_Enabled,
	swPropertyManagerPageControlLeftAlign_e align = swPropertyManagerPageControlLeftAlign_e.swControlAlign_LeftEdge,
	KnownColor backgroundColor = ,
	KnownColor textColor = ,
	short left = -1,
	short top = -1,
	short width = -1,
	short height = -1,
	swPropMgrPageControlOnResizeOptions_e resizeOptions = 
)

Parameters

opts (Optional)
Type: swAddControlOptions_e
Generic control options as defined in swAddControlOptions_e Enumeration
align (Optional)
Type: swPropertyManagerPageControlLeftAlign_e
Control alignment options as defined in swPropertyManagerPageControlLeftAlign_e Enumeration
backgroundColor (Optional)
Type: System.DrawingKnownColor
Background color of control. Use 0 for default color
textColor (Optional)
Type: System.DrawingKnownColor
Color of the text on the control. Use 0 for default color
left (Optional)
Type: SystemInt16
Left alignment of the control. Use -1 for default alignment
top (Optional)
Type: SystemInt16
Top alignment of the control. Use -1 to align the control under the previous control
width (Optional)
Type: SystemInt16
Width of the control. Use -1 for auto width
height (Optional)
Type: SystemInt16
Height of the control in property manager page dialog box units. Use -1 for the auto height
resizeOptions (Optional)
Type: swPropMgrPageControlOnResizeOptions_e
Options to resize as defined in swPropMgrPageControlOnResizeOptions_e Enumeration
See Also