Constructor CustomWidget CustomWidget(Type) Constructor for CustomWidget attribute. Declaration public CustomWidget(Type customWidgetType) Parameters Type Name Description Type customWidgetType Type represented by the CustomWidget.