OPC Studio User's Guide and Reference
Widget Class
Members 



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Widgets Namespace : Widget Class
A portable component.
Syntax
'Declaration
 
<CLSCompliantAttribute(True)>
<ComDefaultInterfaceAttribute(OpcLabs.BaseLib.Widgets.ComTypes._Widget)>
<ComVisibleAttribute(True)>
<ExceptionContractAnnotationAttribute(True)>
<ExceptionContractVerificationAttribute(True)>
<GuidAttribute("0E31D997-1975-4F28-BC3C-219C86B09D1D")>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<DesignerCategoryAttribute("Component")>
<SerializableAttribute()>
Public Class Widget 
   Inherits System.ComponentModel.Component
   Implements OpcLabs.BaseLib.Widgets.ComTypes._Widget, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable 
'Usage
 
Dim instance As Widget
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.Widgets.ComTypes._Widget)]
[ComVisible(true)]
[ExceptionContractAnnotation(true)]
[ExceptionContractVerification(true)]
[Guid("0E31D997-1975-4F28-BC3C-219C86B09D1D")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
[Serializable()]
public class Widget : System.ComponentModel.Component, OpcLabs.BaseLib.Widgets.ComTypes._Widget, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
[CLSCompliant(true)]
[ComDefaultInterface(OpcLabs.BaseLib.Widgets.ComTypes._Widget)]
[ComVisible(true)]
[ExceptionContractAnnotation(true)]
[ExceptionContractVerification(true)]
[Guid("0E31D997-1975-4F28-BC3C-219C86B09D1D")]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("Component")]
[Serializable()]
public ref class Widget : public System.ComponentModel.Component, OpcLabs.BaseLib.Widgets.ComTypes._Widget, System.ComponentModel.IComponent, System.ICloneable, System.IDisposable, System.IServiceProvider, System.Runtime.Serialization.ISerializable, System.Xml.Serialization.IXmlSerializable  
Remarks

Represents a widget component that can be used in various applications. This class provides the base functionality for a widget, including serialization, licensing, and diagnostics support. It is designed to be extended for specific widget implementations.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         OpcLabs.BaseLib.Widgets.Widget
            OpcLabs.BaseLib.Components.LinearConverter
            OpcLabs.BaseLib.Components.StatusToColorConverter
            OpcLabs.BaseLib.Connectivity.ConnectivityBase
            OpcLabs.BaseLib.LiveBinding.AbstractBinding
            OpcLabs.BaseLib.LiveBinding.AbstractBindingGroup
            OpcLabs.BaseLib.LiveBinding.BindingExtenderCore
            OpcLabs.BaseLib.LiveMapping.AbstractMapper
            OpcLabs.BaseLib.NodeSpace.Node
            OpcLabs.BaseLib.Widgets.NotifyingWidget
            OpcLabs.EasyOpc.AlarmsAndEvents.EasyAEClientManagementCore
            OpcLabs.EasyOpc.DataAccess.EasyDAClientManagementCore
            OpcLabs.EasyOpc.UA.Application.EasyUAApplicationCore
            OpcLabs.EasyOpc.UA.EasyUAClientManagementCore
            OpcLabs.EasyOpc.UA.EasyUAServerManagementCore
            OpcLabs.EasyOpc.UA.EasyUASpecializedClient
            OpcLabs.EasyOpc.UA.PubSub.EasyUASubscriberManagementCore

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also