QuickOPC User's Guide and Reference
AutomaticValueControl Class
Members 



OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms Namespace : AutomaticValueControl Class
A control with specified traits that displays values of a given type for viewing or editing.
Syntax
'Declaration
 
<ComVisibleAttribute(False)>
<TypeConverterAttribute(System.ComponentModel.ExpandableObjectConverter)>
<DesignerCategoryAttribute("UserControl")>
<DefaultEventAttribute("Load")>
<DefaultPropertyAttribute("Text")>
<DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")>
Public NotInheritable Class AutomaticValueControl 
   Inherits UserValueControl
   Implements Microsoft.Extensions.DependencyInjection.IServiceScope, OpcLabs.BaseLib.ComponentModel.IValueControl, System.ComponentModel.IComponent, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window 
'Usage
 
Dim instance As AutomaticValueControl
[ComVisible(false)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public sealed class AutomaticValueControl : UserValueControl, Microsoft.Extensions.DependencyInjection.IServiceScope, OpcLabs.BaseLib.ComponentModel.IValueControl, System.ComponentModel.IComponent, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window  
[ComVisible(false)]
[TypeConverter(System.ComponentModel.ExpandableObjectConverter)]
[DesignerCategory("UserControl")]
[DefaultEvent("Load")]
[DefaultProperty("Text")]
[DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
public ref class AutomaticValueControl sealed : public UserValueControl, Microsoft.Extensions.DependencyInjection.IServiceScope, OpcLabs.BaseLib.ComponentModel.IValueControl, System.ComponentModel.IComponent, System.ComponentModel.ISupportInitialize, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window  
Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                     OpcLabs.BaseLib.Forms.UserValueControl
                        OpcLabs.BaseLib.Forms.AutomaticValueControl

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