BindingCompleteEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.5.0.0)
Provides data for the BindingComplete event.
- C#
- VB.NET
public class BindingCompleteEventArgs : CancelEventArgs
Public Class BindingCompleteEventArgs
Inherits CancelEventArgs
Constructors
BindingCompleteEventArgs(binding, state, context, errorText, exception, cancel)
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, exception, and whether the binding should be canceled.
| Name | Type | Description |
|---|---|---|
| binding | Binding | The binding associated with this occurrence of a BindingComplete event. |
| state | BindingCompleteState | One of the BindingCompleteState values. |
| context | BindingCompleteContext | One of the BindingCompleteContext values. |
| errorText | String | The error text or exception message for errors that occurred during the binding. |
| exception | Exception | The Exception that occurred during the binding. |
| cancel | Boolean | true to cancel the binding and keep focus on the current control; false to allow focus to shift to another control. |
BindingCompleteEventArgs(binding, state, context, errorText, exception)
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, and exception.
| Name | Type | Description |
|---|---|---|
| binding | Binding | The binding associated with this occurrence of a BindingComplete event. |
| state | BindingCompleteState | One of the BindingCompleteState values. |
| context | BindingCompleteContext | One of the BindingCompleteContext values. |
| errorText | String | The error text or exception message for errors that occurred during the binding. |
| exception | Exception | The Exception that occurred during the binding. |
BindingCompleteEventArgs(binding, state, context, errorText)
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, and binding context.
| Name | Type | Description |
|---|---|---|
| binding | Binding | The binding associated with this occurrence of a BindingComplete event. |
| state | BindingCompleteState | One of the BindingCompleteState values. |
| context | BindingCompleteContext | One of the BindingCompleteContext values. |
| errorText | String | The error text or exception message for errors that occurred during the binding. |
BindingCompleteEventArgs(binding, state, context)
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state, and binding context.
| Name | Type | Description |
|---|---|---|
| binding | Binding | The binding associated with this occurrence of a BindingComplete event. |
| state | BindingCompleteState | One of the BindingCompleteState values. |
| context | BindingCompleteContext | One of the BindingCompleteContext values. |
Properties
Binding
Binding: Returns the binding associated with this occurrence of a BindingComplete event.
BindingCompleteContext
BindingCompleteContext: Returns the direction of the binding operation.
BindingCompleteState
BindingCompleteState: Returns the completion state of the binding operation.
ErrorText
String: Returns the text description of the error that occurred during the binding operation.
Exception
Exception: Returns the exception that occurred during the binding operation.
Used By
| Name | Description |
|---|---|
| BindingCompleteEventHandler | Represents the delegate that handles the BindingComplete event. |