OPC Studio User's Guide and Reference
IsNullable Property (UserValueControl)



OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms Namespace > UserValueControl Class : IsNullable Property
Determines whether the interactive user of the control can set the value to null.
Syntax
'Declaration
 
Public Overridable ReadOnly Property IsNullable As Boolean
'Usage
 
Dim instance As UserValueControl
Dim value As Boolean
 
value = instance.IsNullable
public virtual bool IsNullable {get;}
public:
virtual property bool IsNullable {
   bool get();
}

Property Value

The default value of this property is False.

Remarks

The control's value can be null even in controls that are not nullable (their OpcLabs.BaseLib.ComponentModel.IValueControl.IsNullable is false).

The default value of this property must be equal to the corresponding OpcLabs.BaseLib.Annotations.ValueControlAttribute.DefaultNullable value.

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