Share via


Field<T>.SetActive(ActiveDelegate<T>) Method

Definition

Define a delegate for checking state to see if field applies.

public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> SetActive (Microsoft.Bot.Builder.FormFlow.ActiveDelegate<T> condition);
member this.SetActive : Microsoft.Bot.Builder.FormFlow.ActiveDelegate<'T (requires 'T : null)> -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function SetActive (condition As ActiveDelegate(Of T)) As Field(Of T)

Parameters

condition
ActiveDelegate<T>

The condition delegate.

Returns

A Field<T>.

Applies to