Class Control.Event
Represents a reactive event that is evaluated on the client when a control's value changes.
Inherited Members
Namespace: DataWeb.Data
Assembly: DataWeb.Core.dll
Syntax
public class Control.Event
Properties
Condition
Gets or sets the condition that must evaluate to true for the event to fire.
Declaration
public EventCondition? Condition { get; set; }
Property Value
| Type | Description |
|---|---|
| EventCondition? |
IsKeepValueOnHidden
Gets or sets a value indicating whether the target controls retain their current value when they become hidden. Applies only to SetIsVisible events.
Declaration
public bool IsKeepValueOnHidden { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ReferenceNames
Gets or sets the names of the controls whose values are used as parameters (used by SetDataSourceParameter).
Declaration
public List<string> ReferenceNames { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
ReferenceValues
Gets or sets the reference values compared against the control's value when evaluating Condition.
Declaration
public List<string> ReferenceValues { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
TargetNames
Gets or sets the names of the controls that are affected when this event fires.
Declaration
public List<string> TargetNames { get; set; }
Property Value
| Type | Description |
|---|---|
| List<string> |
Type
Gets or sets the type of the event, determining what is affected when the event fires.
Declaration
public EventType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| EventType |