# OpcDialogConditionNode Class

<dl class="api-definition">
<dt>Namespace</dt>
<dd><a href="../namespaces/opc.uafx">Opc.UaFx</a></dd>
<dt>Assembly</dt>
<dd>Opc.UaFx.Advanced.dll</dd>
<dt>Package</dt>
<dd>Opc.UaFx.Advanced v2.59.0</dd>
<dt>Members</dt>
<dd><a href="./members">OpcDialogConditionNode Members</a></dd>
</dl>

Defines a condition node which represents itself as a dialog.

## Syntax

<div class="api-signature" data-lang="csharp">

```csharp
[OpcNodeType(2830)]
public class OpcDialogConditionNode : OpcConditionNode
```

</div>

<div class="api-signature" data-lang="vbnet">

```vbnet
<OpcEventType(GetType(OpcDialogCondition))>
<OpcNodeType(2830)>
Public Class OpcDialogConditionNode
    Inherits OpcConditionNode
```

</div>

## Inheritance

[Object](https://learn.microsoft.com/dotnet/api/system.object) → [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/) → [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) → [OpcObjectNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcobjectnode/) → [OpcEventNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnode/) → [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/) → **OpcDialogConditionNode**

## Implements

<ul class="api-implements">
<li><a href="../opc.uafx.iopcnode/">IOpcNode</a></li>
<li><a href="../opc.uafx.iopcnodeinfo/">IOpcNodeInfo</a></li>
</ul>

## Constructors

| Name | Description |
|---|---|
| [OpcDialogConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#opcdialogconditionnode)<span class="api-meta">6 overloads</span> | Initializes a new instance of the OpcDialogConditionNode class accessible by the `name` specified. |

## Properties

| Name | Description |
|---|---|
| [CancelResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#cancelresponse) | Gets or sets a value which defines the index of the response in the [ResponseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptions) array that will cause the dialog to go into the inactive state without proceeding with the operation described by the prompt. |
| [CancelResponseNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#cancelresponsenode) | Gets the [OpcPropertyNode&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode-1/) of the [CancelResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#cancelresponse) property. |
| [DefaultResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#defaultresponse) | Gets or sets a value which identifies the response option that should be shown as default to the user. |
| [DefaultResponseNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#defaultresponsenode) | Gets the [OpcPropertyNode&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode-1/) of the [DefaultResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#defaultresponse) property. |
| [DefaultTypeDefinitionId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#defaulttypedefinitionid)<span class="api-meta">protected · override</span> | Gets the default identifier which identifies the node that defines the underlying node type from that this [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/) has been created. |
| [IsActive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactive) | Gets a value indicating whether the dialog is active and is waiting for a response. |
| [IsActiveNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactivenode) | Gets the [OpcTwoStateVariableNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctwostatevariablenode/) of the [IsActive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactive) property. |
| [LastResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#lastresponse) | Gets or sets a value which defines the last response provided by a client in the respond method. |
| [LastResponseNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#lastresponsenode) | Gets the [OpcPropertyNode&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode-1/) of the [LastResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#lastresponse) property. |
| [OkResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#okresponse) | Gets or sets a value which defines the index of the OK option in the [ResponseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptions) array. |
| [OkResponseNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#okresponsenode) | Gets the [OpcPropertyNode&lt;T&gt;](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcpropertynode-1/) of the [OkResponse](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#okresponse) property. |
| [Prompt](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#prompt) | Gets or sets the dialog prompt to be shown to the user. |
| [PromptNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#promptnode) | Gets the [OpcTextPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctextpropertynode/) of the [Prompt](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#prompt) property. |
| [RespondCallback](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#respondcallback) | Gets or sets a callback used to respond on a dialog of the OpcDialogConditionNode. |
| [RespondNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#respondnode) | Gets the [OpcDialogResponseMethodNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogresponsemethodnode/) used to handle 'Respond' method calls to respond on a dialog of the condition node. |
| [ResponseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptions) | Gets or sets an array of supported response options. |
| [ResponseOptionsNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptionsnode) | Gets the [OpcTextArrayPropertyNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctextarraypropertynode/) of the [ResponseOptions](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#responseoptions) property. |

## Methods

| Name | Description |
|---|---|
| [CreateBranchCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#createbranchcore)<span class="api-meta">protected · override</span> | Creates a new instance of the OpcDialogConditionNode using the same [Id](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members#id) and [Name](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members#name) as this node. |
| [Respond](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#respond) | Responses on the dialog of the dialog condition node and changes the [IsActive](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#isactive) to its [FalseState](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opctwostatevariablenode/members#falsestate) using the specified `context`. |
| [RespondCore](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcdialogconditionnode/members#respondcore)<span class="api-meta">protected · virtual</span> | Responds on the dialog of the dialog condition node using the `context` and `selectedResponse` information specified. |

Inherits members from [OpcConditionNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcconditionnode/members), [OpcEventNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnode/members), [OpcObjectNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcobjectnode/members), [OpcInstanceNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcinstancenode/members), [OpcNode](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opcnode/members).

## Extension methods

| Name | Description |
|---|---|
| [OpcConditionNodeExtension.ActivateDialog](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#activatedialog) | Activates the dialog of the `conditionNode` specified using the further specified `context`. |
| [OpcConditionNodeExtension.AddComment](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcconditionnodeextension/members#addcomment) | Applies a comment to the state reported by an event notification which can be identified by the [EventId](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.opceventnode/members#eventid) of the `conditionNode` specified using the further specified `client`. |
| [OpcConditionNodeExtension.ChangeComment](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changecomment) | Changes the condition 'Comment' state of the `conditionNode` specified using the further specified `context` without raising change events. |
| [OpcConditionNodeExtension.ChangeIsEnabled](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changeisenabled) | Changes the condition 'Enabled' state of the `conditionNode` specified using the further specified `context` without raising change events. |
| [OpcConditionNodeExtension.ChangeSeverity](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#changeseverity) | Changes the condition 'Severity' of the `conditionNode` specified using the further specified `context` without raising change events. |
| [OpcConditionNodeExtension.Disable](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcconditionnodeextension/members#disable) | Changes the condition state to 'Disabled' of the `conditionNode` specified using the further specified `client`. |
| [OpcConditionNodeExtension.Enable](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcconditionnodeextension/members#enable) | Changes the condition state to 'Enabled' of the `conditionNode` specified using the further specified `client`. |
| [OpcConditionNodeExtension.RespondDialog](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.server.opcconditionnodeextension/members#responddialog) | Changes the dialog response of the `conditionNode` specified using the further specified `context`. |
| [OpcDialogConditionNodeExtension.Respond](https://www.traeger.de/en/docs/development/opcua/api/v2.59/opc.uafx.client.opcdialogconditionnodeextension/members#respond) | Passes the `selectedResponse` option and ends the dialog of the `conditionNode` specified using the further specified `client`. |

## Applies to

| Package | Versions |
|---|---|
| Opc.UaFx.Advanced | v2.5–v2.59 |
