Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
ControlUpdate
The control property value is being updated from the data source.
DataSourceUpdate
The data source value is being updated from the control property.
Returns the direction of the binding operation.
Wisej.Web.BindingCompleteEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the delegate that handles the BindingComplete event.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.BindingContext
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Manages the collection of BindingManagerBase objects for any object that inherits from the Control class.
Creates a new instance of BindingContext.
Boolean: Returns whether the collection is read-only.
BindingManagerBase: Returns the BindingManagerBase that is associated with the data source.
BindingManagerBase: Returns a BindingManagerBase that is associated with the data source and data member.
Throws:
Exception The specified dataMember does not exist in the specified data source.
Returns whether the BindingContext contains the BindingManagerBase associated with the data source.
Returns: Boolean. true if the BindingContext contains the BindingManagerBase; otherwise, false.
Returns whether the BindingContext contains the BindingManagerBase associated with the data source and data member.
Returns: Boolean. true if the BindingContext contains the BindingManagerBase; otherwise, false.
Associates a Binding with a new BindingContext.
Wisej.Web.Binding
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the simple binding between the property value of an object and the property value of a control.
Initializes a new instance of the Binding class that simple-binds the indicated control property to the specified data member of the data source.
Name | Type | Description |
---|---|---|
Throws:
Exception propertyName is neither a valid property of a control nor an empty string ("").
ArgumentException The property given by propertyName does not exist on the control.
Initializes a new instance of the Binding class that binds the indicated control property to the specified data member of the data source, and optionally enables formatting to be applied.
Name | Type | Description |
---|---|---|
Throws:
ArgumentException The property given by propertyName does not exist on the control; or the property given is a read-only property.
Exception Formatting is disabled and propertyName is neither a valid property of a control nor an empty string ("").
Initializes a new instance of the Binding class that binds the specified control property to the specified data member of the specified data source. Optionally enables formatting and propagates values to the data source based on the specified update setting.
Throws:
ArgumentException The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the Binding class that binds the indicated control property to the specified data member of the specified data source. Optionally enables formatting, propagates values to the data source based on the specified update setting, and sets the property to the specified value when a DBNull is returned from the data source.
Throws:
ArgumentException The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the Binding class that binds the specified control property to the specified data member of the specified data source. Optionally enables formatting with the specified format string; propagates values to the data source based on the specified update setting; and sets the property to the specified value when a DBNull is returned from the data source.
Throws:
ArgumentException The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
Initializes a new instance of the Binding class with the specified control property to the specified data member of the specified data source. Optionally enables formatting with the specified format string; propagates values to the data source based on the specified update setting; enables formatting with the specified format string; sets the property to the specified value when a DBNull is returned from the data source; and sets the specified format provider.
Throws:
ArgumentException The property given by propertyName does not exist on the control; or the data source or data member or control property specified are associated with another binding in the collection.
IBindableComponent: Returns the control the Binding is associated with.
BindingMemberInfo: Return the binding information based on the dataMember parameter in the Binding constructor.
Control: Returns the control that the binding belongs to.
ControlUpdateMode: Returns or sets when changes to the data source are propagated to the bound control property.
DataSourceUpdateMode: Returns or sets a value that indicates when changes to the bound control property are propagated to the data source.
BindingCompleteEventHandler Fired when the FormattingEnabled property true and a binding operation is completed.
ConvertEventHandler Fired when the property of a control is bound to a data value.
ConvertEventHandler Fired when the value of a data-bound control changes.
Wisej.Web.BindingCompleteEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides data for the BindingComplete event.
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 |
---|---|---|
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, binding context, and exception.
Name | Type | Description |
---|---|---|
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state and text, and binding context.
Initializes a new instance of the BindingCompleteEventArgs class with the specified binding, error state, and binding context.
Binding: Returns the binding associated with this occurrence of a BindingComplete event.
BindingCompleteContext: Returns the direction of the binding operation.
BindingCompleteState: Returns the completion state of the binding operation.
String: Returns the text description of the error that occurred during the binding operation.
Exception: Returns the exception that occurred during the binding operation.
Wisej.Web.BindingMemberInfo
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Contains information that enables a to resolve a data binding to either the property of an object or the property of the current object in a list of objects.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the property name of the data-bound object.
: Returns the information that is used to specify the property name of the data-bound object.
Wisej.Web.BindingManagerDataErrorEventArgs
Wisej.Web.BindingManagerBase
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Manages all objects that are bound to the same data source and data member.
: Returns the collection of bindings being managed.
: Returns the number of items in the list.
: Returns the current item in the list.
: Returns whether binding is suspended.
Adds a new item to the underlying list.
Throws:
Cancels the current edit operation.
Ends the current edit operation.
Returns the property descriptor collection for the underlying list.
Removes the item at the specified index.
Throws:
Resumes data binding.
Suspends data binding to prevents changes from updating the bound data source.
Wisej.Web.BindingNavigator
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
Initializes a new instance of the class with the specified as the data source.
Name | Type | Description |
---|
Initializes a new instance of the class, indicating whether to display the standard navigation user interface (UI).
When the control is docked, this property is managed automatically.
Disables updates to the controls of during the component's initialization.
Enables updates to the controls after the component's initialization has completed.
Causes validation to occur and returns whether validation was successful.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
: Returns the property name, or the period-delimited hierarchy of property names, that comes before the property name of the data-bound object.
Name | Description |
---|
: Returns or sets the position of the data binding source within the list.
The underlying data source does not implement , or the data source has thrown an exception because the user has attempted to add a row to a read-only or fixed-size .
Returns: . A for the list.
Parameter | Type | Description |
---|
There is no row at the specified index .
Fired at the completion of a data-binding operation.
Fired when the currently bound item changes.
Fired when the state of the currently bound item changes.
Fired when an is silently handled by the .
Fired after the value of the property has changed.
Name | Description |
---|
Name | Type | Description |
---|
: Returns or sets the "Add New" button.
: Returns or sets the component that is the source of data.
: Returns or sets the control that displays the total number of items in the associated .
: Gets or sets a string used to format the information displayed in the control.
: Returns or sets the "Delete" button.
: Returns or sets the "Move First" button.
: Returns or sets the "Move Last" button.
: Returns or sets the "Move Next" button.
: Returns or sets the "Move Previous" button.
: Returns or sets a value indicating the horizontal or vertical orientation of the control.
: Returns or sets the TextBox control that displays the current position within the associated .
: Returns or sets the text to display on the tab.
Adds the standard set of navigation items to the control.
Returns: . true if validation was successful and focus can shift to the ; otherwise, false.
Fired when the state of the navigational user interface (UI) needs to be refreshed to reflect the current state of the underlying data source.
Fired when the value of the property changes.
Name | Description |
---|
DataError
The binding operation failed with a data error.
Exception
The binding operation failed with an exception.
Success
The binding operation completed successfully.
Returns the completion state of the binding operation.
sender
The source of the event.
e
A BindingCompleteEventArgs that contains the event data.
Fired when the FormattingEnabled property true and a binding operation is completed.
Fired at the completion of a data-binding operation.
Fired when all the clients have been bound to this BindingSource.
dataSource
An Object that represents the data source.
dataSource
An Object that represents the data source.
dataMember
The information needed to resolve to a specific BindingManagerBase.
newBindingContext
The new BindingContext to associate with the Binding.
binding
The Binding to associate with the new BindingContext.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
One of the DataSourceUpdateMode values.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
One of the DataSourceUpdateMode values.
nullValue
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
One of the DataSourceUpdateMode values.
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
dataSourceUpdateMode
One of the DataSourceUpdateMode values.
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
formatInfo
An implementation of IFormatProvider to override default formatting behavior.
binding
The binding associated with this occurrence of a BindingComplete event.
state
One of the BindingCompleteState values.
context
One of the BindingCompleteContext values.
errorText
The error text or exception message for errors that occurred during the binding.
binding
The binding associated with this occurrence of a BindingComplete event.
state
One of the BindingCompleteState values.
context
One of the BindingCompleteContext values.
Represents the delegate that handles the BindingComplete event.
index | The index of the item to remove from the list. |
Keeps data-bound controls synchronized with each other: showing data from the same record. |
addStandardItems | true to show the standard navigational UI; otherwise, false. |
Bindable components implement this interface. |
All wisej components implement this interface. |
Allows an object to serialize itself. |
propertyName
The name of the control property to bind.
dataSource
An Object that represents the data source.
dataMember
The property or list to bind to.
propertyName
The name of the control property to bind.
dataSource
An Object that represents the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
binding
The binding associated with this occurrence of a BindingComplete event.
state
One of the BindingCompleteState values.
context
One of the BindingCompleteContext values.
errorText
The error text or exception message for errors that occurred during the binding.
exception
The Exception that occurred during the binding.
cancel
true to cancel the binding and keep focus on the current control; false to allow focus to shift to another control.
binding
The binding associated with this occurrence of a BindingComplete event.
state
One of the BindingCompleteState values.
context
One of the BindingCompleteContext values.
errorText
The error text or exception message for errors that occurred during the binding.
exception
The Exception that occurred during the binding.
sender | The source of the event. |
e | A that contains the event data. |
Fired when an is silently handled by the . |
Fired when a currency-related exception is silently handled by the . |
dataMember | A navigation path that resolves to either the property of an object or the property of the current object in a list of objects. |
exception |
bindingSource |
Wisej.Web.BindingsCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents a collection of Binding objects for a control.
Int32: Returns the total number of bindings in the collection.
Binding: Returns the Binding at the specified index.
Throws:
IndexOutOfRangeException The collection doesn't contain an item at the specified index.
CollectionChangeEventHandler Fired when the collection has changed.
CollectionChangeEventHandler Fired when the collection is about to change.
Wisej.Web.ConvertEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Base for the specialized convert event handlers.
Initializes a new instance of the ConvertEventArgs class.
Name | Type | Description |
---|---|---|
Type: Returns the data type of the desired value.
Object: Returns or sets the value of the ConvertEventArgs.
Wisej.Web.ControlBindingsCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the collection of data bindings for a control.
Initializes a new instance of the ControlBindingsCollection class with the specified bindable control.
Name | Type | Description |
---|---|---|
Control: Returns the control that the collection belongs to.
DataSourceUpdateMode: Returns or sets the default DataSourceUpdateMode for a Binding in the collection.
Binding: Returns the Binding specified by the control's property name.
Binding: Returns the Binding at the specified index.
Throws:
IndexOutOfRangeException The collection doesn't contain an item at the specified index.
Adds the specified Binding to the collection.
Throws:
ArgumentNullException The binding is null.
ArgumentException The control property is already data-bound.
ArgumentException The Binding does not specify a valid column.
Creates a Binding using the specified control property name, data source, and data member, and adds it to the collection.
Returns: Binding. The newly created Binding.
Throws:
Exception The propertyName is already data-bound.
Exception The dataMember doesn't specify a valid member of the dataSource .
Creates a binding with the specified control property name, data source, data member, and information about whether formatting is enabled, and adds the binding to the collection.
Returns: Binding. The newly created Binding.
Throws:
ArgumentException The property given by propertyName does not exist on the control.-or-The property given is a read-only property.
Exception If formatting is disabled and the propertyName is neither a valid property of a control nor an empty string ("").
Creates a binding with the specified control property name, data source, data member, and information about whether formatting is enabled, and adds the binding to the collection.
Returns: Binding. The newly created Binding.
Throws:
ArgumentException The property given by propertyName does not exist on the control.-or-The property given is a read-only property.
Exception If formatting is disabled and the propertyName is neither a valid property of a control nor an empty string ("").
Creates a binding with the specified control property name, data source, data member, and information about whether formatting is enabled, and adds the binding to the collection.
Returns: Binding. The newly created Binding.
Throws:
ArgumentException The property given by propertyName does not exist on the control.-or-The property given is a read-only property.
Exception If formatting is disabled and the propertyName is neither a valid property of a control nor an empty string ("").
Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, and adding the binding to the collection.
Returns: Binding. The newly created Binding.
Throws:
ArgumentException The property given by propertyName does not exist on the control or is read-only.-or-The specified data member does not exist on the data source.-or-The data source, data member, or control property specified are associated with another binding in the collection.
Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, and adding the binding to the collection.
Returns: Binding. The newly created Binding
Throws:
ArgumentException The property given by propertyName does not exist on the control or is read-only.-or-The specified data member does not exist on the data source.-or-The data source, data member, or control property specified are associated with another binding in the collection.
Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting with the specified format string, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, and adding the binding to the collection.
Returns: Binding. The newly created Binding
Throws:
ArgumentException The property given by propertyName does not exist on the control or is read-only.-or-The specified data member does not exist on the data source.-or-The data source, data member, or control property specified are associated with another binding in the collection.
Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting with the specified format string, propagating values to the data source based on the specified update setting, setting the property to the specified value when DBNull is returned from the data source, setting the specified format provider, and adding the binding to the collection.
Returns: Binding. The newly created Binding.
Throws:
ArgumentException The property given by propertyName does not exist on the control or is read-only.-or-The specified data member does not exist on the data source.-or-The data source, data member, or control property specified are associated with another binding in the collection.
Removes all bindings in the collection.
Removes the specified Binding from the collection.
Throws:
NullReferenceException The binding is null.
Removes the Binding at the specified index.
Throws:
ArgumentOutOfRangeException The index value is less than 0, or it is greater than the number of bindings in the collection.
CollectionChangeEventHandler Fired when the collection has changed.
CollectionChangeEventHandler Fired when the collection is about to change.
Wisej.Web.CurrencyManager
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Keeps data-bound controls synchronized with each other: showing data from the same record.
Int32: Returns the number of items in the list.
Object: Returns the current item in the list.
IList: Returns the list for this CurrencyManager.
Int32: Returns or sets the current position within the list.
Boolean: Returns true when the bound data source can accept changes. Calling SuspendBinding sets this flag to false and ResumeBinding sets it to true (default).
Forces a refresh of the data-bound list.
Resumes data binding.
Suspends data binding to prevents changes from updating the bound data source.
ItemChangedEventHandler Fired when the current item has been altered.
ListChangedEventHandler Fired when the list changes or an item in the list changes.
EventHandler Fired when the metadata of the List has changed.
Wisej.Web.BindingSource
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Encapsulates the data source for a data-bound component.
Initializes a new instance of the class to the default property values.
Initializes a new instance of the class and adds the to the specified container.
Name | Type | Description |
---|
Initializes a new instance of the class with the specified data source and data member.
Name | Type | Description |
---|
Throws:
Throws:
Negative values are treated as 0.
This option fixes a long standing "feature" of the default BindingSource where the property that is the source of a value change is not refreshed automatically after it updates the bound data source. In a scenario where the data source "transforms" the value received from a data-bound control, the source property is not updated while all other bound properties are.
Sorts the data source using the specified property descriptor and sort direction.
Sorts the data source with the specified sort descriptions.
Cancels the current edit operation.
Removes all elements from the list.
Applies pending changes to the underlying data source.
Returns the index of the item in the list with the specified propertyName and value .
Throws:
Searches for the index of the that has the given value in the specified property .
Throws:
Returns the name of the list supplying data for the binding operations.
Throws:
Throws:
Resumes data binding.
Suspends data binding to prevent changes from updating the data-bound data source.
Wisej.Web.IBindableComponent
Wisej.Web.ICurrencyManagerProvider
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides custom binding management for components.
: Returns the associated with this .
Return the for this and the specified data member.
Parameter | Type | Description |
---|
Returns: . The related obtained from this and the specified data member.
Return the binding information based on the dataMember parameter in the constructor.
Maintains a between an object's property and a data-bound control property.
All wisej controls derived from the class must implement this interface.
The that occurred in the binding process.
Represents the method that will handle the event.
The used as a data source.
Name | Description |
---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
: Returns whether items in the underlying list can be edited.
: Returns or sets whether the method can be used to add items to the list.
This property is set to true when the underlying list represented by the property has a fixed size or is read-only.
The property is set to true and the event is not handled when the underlying list type does not have a default constructor.
: Returns whether the items can be removed from the underlying list.
: Returns the total number of items in the underlying list, filtered using the current value.
: Returns the currency manager associated with this .
: Returns the current item in the list.
Use the property to access the current item, but use the property to get the entire list. To determine the type of the current object, use the , or methods. To change the current item, set the property to a new integral value, or use one of the navigation methods such as .
: Returns or sets the list in the data source to which the connector currently binds to.
If the contains multiple lists (or tables) of data, you should set the property to the name of one of the sources. Setting this property raises the event
: Returns or sets the data source that the connector binds to.
The property can be set to a number of data sources, including types, objects, and lists of types. The resulting data source will be exposed as a list. The following table shows some of the common data sources and the resulting list evaluation.
| DataSource | List Result | | :--- | | null | An empty of objects. Adding an item sets the list to the type of the added item. | | null with set | Not supported, raises . | | Non-list type or object of type "T" | Empty of type "T". | | instance | containing the array elements. | | instance | An containing the items. | | List instance containing type "T" | instance containing type "T". |
In addition, can be set to other list types such as and and the will handle them appropriately. In this case, the type contained in the list should have a parameterless constructor. When setting a data source, if the supplied reference contains more than one list or table, you must set the property to a string that specifies the list to bind to. Setting this property raises the event.
: Returns or sets the expression used to filter the items in the underlying .
Typically used in complex data-binding scenarios, the property allows you to view a subset of the . Only underlying lists that implement the interface support filtering. When is not null, the passes this property to the underlying list. If you set this property during object initialization, the call will be deferred until after initialization is complete. To form a filter value, specify the name of a column followed by an operator and a value to filter on. The accepted filter syntax depends on the underlying data source. If the underlying data source is a , , or , you can specify Boolean expressions using the syntax documented for the DataColumn.Expression property. The value of the Filter property affects the value of the property. Additionally, the Filter value will persist when the data source changes. To stop filtering the , call the RemoveFilter method.
: Returns whether data binding is suspended.
: Returns whether the underlying has a fixed size.
: Return whether the underlying is read-only.
: Returns whether the items in the underlying are sorted.
: Returns whether access to the collection is synchronized (thread safe).
: Returns or sets the list element at the specified index in the underlying .
index is less than zero or is equal to or greater than .
: Returns the underlying data list.
The class uniformly handles different data sources. Ideally the property should be set to a general . However, sometimes it may be necessary to cast this property to a more specific type. The following table shows the underlying list type, which depends on the type or value of the data source.
| DataSource Type | Underlying List Description | | :--- | | and are null | An empty . | | is null, but is not null | None; an attempt to get the List will throw an . | | An instance | An . | | An instance | The return value from a call to the GetList() method of this instance. | | An instance | An . | | An instance | An . | | A non- instance of type "T" | A with one element. | | An instance | An with one element. | | An | An with the elements copied over. | | The type with of item type "T" | A . | | A Type that represents an or | An instance created by a call to the CreateInstance(Type) method of the class. A may be thrown. | | The type with of item type "T" or a non- type | A | | The type | None; an attempt to get the will throw an . |
If the type retrieved is the interface, the underlying collection may be more complex, such as an or class.
: Returns or sets the index of the current item in the underlying .
When setting the property, out-of-range values are treated in the following manner:
Values greater than or equal to are treated as Count minus 1.
Changing the property will adjust the property.
: Returns or sets a value indicating whether events should be raised.
When the property is false, it suspends the raising of the events. This event indicates that the bound list has been modified in some way, including adding, deleting, inserting, or modifying items.
: Enables the automatic refresh of the source property after a data-bound value has been updated in the data source.
: Returns or sets the column names used for sorting, and the sort order for viewing the rows in the data source.
The property is a case-sensitive string that specifies the column names used to sort the rows, along with the . Columns are sorted ascending by default. Multiple columns can be separated by commas, such as "State, ZipCode DESC". To support sorting, the underlying must implement the or interfaces. This capability can be queried through the property. Multicolumn sorting is available when the property is true. Setting the Sort property will change the internal list depending on its type:
If the list is of type , the and properties are set in the internal list.
If the list is of type , the property is set.
The internal list's sort properties are only changed when the sort string is not null. The get accessor for this property will not retrieve the sort value of the internal list; instead, it will return the set accessor value. The value of the property will persist when the data source changes.
: Returns the collection of sort descriptions applied to the data source.
If the data source is not an , the property always returns null.
: Returns the direction the items in the underlying are sorted.
If the data source is not an , the property always returns .
: Returns the that is being used for sorting the underlying .
If the data source is not an , the property always returns null.
: Returns whether the data source supports multi-column sorting.
If the data source is not an , the property always returns false.
: Return whether the data source supports change notification.
: Returns whether the data source supports filtering.
If the data source is not an , the property always returns false.
: Returns whether the data source supports searching with the method.
If the data source is not an , the property always returns false.
: Returns whether the data source supports sorting.
If the data source is not an , the property always returns false.
: Returns an object used to synchronize access to the underlying .
Adds an existing item to the underlying .
Parameter | Type | Description |
---|
Returns: . The index at which the item was added to the underlying .
Adds a new item to the underlying .
Returns: . The object that was created and added to the underlying .
Parameter | Type | Description |
---|
The implements single column sorting using a to indicate a property to sort by and a indicating whether the property contents should be sorted in ascending or descending order. Throws:
The data source is not an .
Parameter | Type | Description |
---|
implements multi-column sorting as a set of property descriptor-direction pairs. Throws:
The data source is not an .
Determines whether the item is present in he underlying .
Parameter | Type | Description |
---|
Returns: . true if the item is found in the .
Copies the contents of the to the specified array , starting at the specified index value.
Parameter | Type | Description |
---|
When the method is called, all pending changes are applied to the underlying data source. This method has no effect unless the objects contained by the data source implement the interface. If the objects do not implement the interface, changes to the data are copied to the underlying data source immediately after each change. This method raises the event.
Parameter | Type | Description |
---|
Returns: . The zero-based index of the item with the specified propertyName and value .
The underlying list is not a with searching functionality implemented.
propertyName does not match a property in the list.
Parameter | Type | Description |
---|
Returns: . The index of the item that has the given value .
propertyName does not match a property in the list.
Retrieves an enumerator for the underlying .
Returns: . An for the .
Retrieves an array of objects representing the bindable properties of the data source list type.
Parameter | Type | Description |
---|
Returns: . An array of objects that represents the properties on this list type used to bind data.
Parameter | Type | Description |
---|
Returns: . The name of the list supplying the data for binding operations.
Returns the related for the specified data member.
Parameter | Type | Description |
---|
Returns: . The related for the specified data member.
Returns the index of the specified item in the underlying .
Parameter | Type | Description |
---|
Returns: . The index of the first occurrence of item in the .
Inserts an item into the at the specified index .
Parameter | Type | Description |
---|
index is less than zero or greater than .
The list is read-only or has a fixed size.
Moves the current position to the first item in the .
Moves the current position to the last item in the .
Moves the current position to the next item in the .
Moves the current position to the previous item in the .
Removes the specified item from the .
Parameter | Type | Description |
---|
Removes the item at the specified index from the .
Parameter | Type | Description |
---|
Removes the current item from the .
Removes the filter associated with this
Removes the sort information associated with this .
The underlying data source does not support sorting.
Causes a control bound to this to re-read all the items and refresh their displayed value.
Parameter | Type | Description |
---|
Causes a control bound to this to re-read the current item and refresh the displayed value.
Causes a control bound to this to read the item at the specified itemIndex and refresh the displayed value.
Parameter | Type | Description |
---|
Fired before an item is added to the underlying .
Fired when all the clients have been bound to this .
Occurs when the currently bound item changes.
Occurs when a property value of the property has changed.
Fired when a currency-related exception is silently handled by the .
Fired when the property value has changed.
Fired when the property value has changed.
Fired when the underlying changes or an item in the list changes.
Fired after the value of the property has changed.
Name | Description |
---|
Name | Description |
---|
sender
The source of the event.
e
A ConvertEventArgs that contains the event data.
Fired when the property of a control is bound to a data value.
Fired when the value of a data-bound control changes.
Never
The bound control is never updated when a data source value changes.
OnPropertyChanged
The corresponding property of the bound control is updated when the data source value changes, or the data source position (current record) changes.
Returns or sets when changes to the data source are propagated to the bound control property.
binding
The Binding to add.
propertyName
The name of the control property to bind.
dataSource
An Object that represents the data source.
dataMember
The property or list to bind to.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false
formatString
One or more format specifier characters that indicate how a value is to be displayed.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
updateMode
One of the DataSourceUpdateMode values.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
updateMode
One of the DataSourceUpdateMode values.
nullValue
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
updateMode
One of the DataSourceUpdateMode values.
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed.
propertyName
The name of the control property to bind.
dataSource
An Object representing the data source.
dataMember
The property or list to bind to.
formattingEnabled
true to format the displayed data; otherwise, false.
updateMode
One of the DataSourceUpdateMode values.
nullValue
formatString
One or more format specifier characters that indicate how a value is to be displayed
formatInfo
An implementation of IFormatProvider to override default formatting behavior.
binding
The Binding to remove.
index
The zero-based index of the item to remove.
item |
property |
sort |
sorts |
item |
array | The destination array. |
index | The index in the destination array at which to start the copy. |
propertyName | The name of the property to search. |
value | The value of the item with the specified propertyName to find. |
property |
value | The value of the property to match. |
listAccessors |
listAccessors |
dataMember | The name of column or list, within the data source to retrieve the currency manager for. |
item | item to locate. |
index | Index at which to insert the item. |
item | Item to insert, it can be null. |
item | Item to remove. |
index | Index of the item to remove. |
metadataChanged | true if the schema has changed; false if only the data has changed. |
itemIndex | The index of the item that has changed. |
Provides custom binding management for components. |
Encapsulates the data source for a data-bound component. |
value
An Object that contains the value of the current property.
desiredType
The Type of the value.
control
The IBindableComponent the binding collection belongs to.
container |
dataSource |
dataMember | The specific column or list name within the data source to bind to. |
Never | The data source is never updated and values entered into the control are not parsed, or re-formatted. |
OnPropertyChanged | The data source is updated whenever the value of the control property changes. |
OnValidation | The data source is updated when the control property is validated. |
Returns or sets a value that indicates when changes to the bound control property are propagated to the data source. |
Returns or sets the default for a in the collection. |
Creates a binding that binds the specified control property to the specified data member of the specified data source, optionally enabling formatting, propagating values to the data source based on the specified update setting, and adding the binding to the collection. |
UI implementation for the FileDialog class. |
UI implementation for the FolderDialog class. |
Base class for all Wisej controls. |
Displays data in a customizable list format. |
Represents a shape control. Displays an element a border in any of the four sides. |
Represents a panel that dynamically arranges its child controls. |
Represents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client. |
Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field. |
Displays child controls vertically or horizontally in a scrollable container. |
Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source. |
Represents a button control. |
Implements the basic functionality common to button controls. |
Represents a check box control. |
Represents a combo box control. |
Provides focus-management functionality for controls that can function as a container for other controls. |
Represents a control that allows the user to select or type a date and a time. |
Represents a spinner control that displays string values. |
Represents a panel that dynamically arranges its children horizontally or vertically in automatic rows or columns. |
Represents a window or dialog box that makes up an application's user interface. |
Represents a Wisej control that displays a frame around a group of controls with an optional caption. |
Represents a label control. |
Represents an hyper-link control. |
Represents a control to display a list of items. |
Uses a mask to distinguish between proper and improper user input. |
Represents the container for multiple-document interface (MDI) child forms. |
Represents a control that enables the user to select a date using a visual monthly calendar display. |
Represents a spinner control that displays numeric values. |
Represents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time. |
Represents a collapsible panel with an optional header that contains a group of controls. |
Represents an image control. |
Represents a progress control that displays a value visually as a filled bar. |
Defines a base class for controls that support auto-scrolling behavior. |
Represents an horizontal scroll bar. |
Represents a vertical scroll bar. |
Implements the basic functionality of a scroll bar control. |
Represents a control consisting of a movable bar that divides a container's display area into two resizable panels. |
Displays information to the user in a about the object being viewed, the object's components, or the object's operation. |
Represents a panel that dynamically lays out its contents in a grid composed of rows and columns. |
Represents a text box control that allows the user to enter any value. |
Implements the basic functionality required by text controls. |
Enables the user to choose between a range of values by sliding a small bar along another bar. |
Implements the basic functionality required by a spin box (also known as an up-down control). |
Provides an empty control that can be used to create other controls. |
Represents a web browser control that enables the user to navigate web pages inside a form or a page. |
Represents a data grid control. |
Represents a desktop container that can host floating windows. |
Represents a control that can host ASP.NET or MVC pages within a Wisej application. |
Represents the HTML5 canvas element. |
Represents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML. |
Represents a control that displays any HTML file in an IFrame element. |
Represents a line control. |
Base implementation for media controls. |
Represents a split button control. |
Represent an upload widget. Allows users to selected one or more files and upload them to the server. |
Provides an popup container that can be attached to other controls. |
Provides a generic widget that can use most third party javascript widgets. |
Represents a list view control, which displays a collection of items that can be displayed using one of four different views. |
Represents a menu bar component. |
Provides a user interface for browsing the properties of an object. |
Represents a toolbar component. |
dataMember |
Represents the method that will handle the event of the class. |
Wisej.Web.ListBindingHelper
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides functionality to discover a bindable list and the properties of the items contained in the list when they differ from the public properties of the object to which they bind.
Returns a list associated with the specified data source.
Parameter | Type | Description |
---|---|---|
Returns: Object. An Object representing the underlying list if it exists; otherwise, the original data source specified by list .
Returns an object, typically a list, from the evaluation of a specified data source and optional data member.
Parameter | Type | Description |
---|---|---|
Returns: Object. An Object representing the underlying list if it was found; otherwise, dataSource .
Throws:
ArgumentException The specified data member name did not match any of the properties found for the data source.
Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a specified data source, or properties of the specified data source.
Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection containing the properties of the items contained in list , or properties of list..
Returns the PropertyDescriptorCollection that describes the properties of an item type contained in a collection property of a data source. Uses the specified PropertyDescriptor array to indicate which properties to examine.
Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection describing the properties of the item type contained in a collection property of the data source.
Returns the PropertyDescriptorCollection that describes the properties of an item type contained in the specified data member of a data source. Uses the specified PropertyDescriptor array to indicate which properties to examine.
Returns: PropertyDescriptorCollection. The PropertyDescriptorCollection describing the properties of an item type contained in a collection property of the specified data source.
Throws:
ArgumentException The specified data member could not be found in the specified data source.
Returns the data type of the items in the specified list.
Returns: Type. The Type of the items contained in the list.
Returns the data type of the items in the specified data source.
Returns: Type. For complex data binding, the Type of the items represented by the dataMember in the data source; otherwise, the Type of the item in the list itself.
Returns the name of an underlying list, given a data source and optional PropertyDescriptor array.
Returns: String. The name of the list in the data source, as described by listAccessors , or the name of the data source type.
Wisej.Web.ItemChangedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the method that will handle the ItemChanged event of the CurrencyManager class.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
Wisej.Web.PropertyManager
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Maintains a Binding between an object's property and a data-bound control property.
Object: Returns the object owning the data-bound property belongs.
Cancels the current edit.
Ends the current edit operation.
Resumes data binding.
Suspends the data binding between a data source and a data-bound property.
Wisej.Web.ListBindingConverter
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Provides a type converter to convert Binding objects to and from various other representations.
Initializes a new instance of the ListBindingConverter class.
Returns whether this converter can convert the object to the specified type using the specified context.
Parameter | Type | Description |
---|---|---|
Returns: Boolean. true if this converter can perform the conversion; otherwise, false.
Converts the given value object to the specified type, using the specified context and culture information.
Returns: Object. An Object that represents the converted value.
Creates an instance of the type that this TypeConverter is associated with, using the specified context, given a set of property values for the object.
Returns: Object. An Object representing the given IDictionary, or null if the object cannot be created. This method always returns null.
Returns whether changing a value on this object requires a call to the CreateInstance method to create a new value.
Returns: Boolean. true if changing a property on this object requires a call to CreateInstance to create a new value; otherwise, false.
Item to add the underlying .
A that describes the property by which to sort the data source.
A indicating how the list should be sorted.
A containing the sort descriptions to apply to the data source.
Item to locate in the underlying .
The to search.
An array of objects to find in the type.
An array of objects to find in the list as bindable.
The to add the current to.
The data source for the .
Used by the control to display data at run time.
Represents a spinner control that displays values.
Displays a in which a check box is displayed to the left of each item.
Provides a common implementation of members for the and classes.
Enables the user to select a single option from a group of choices when paired with other controls.
Creates a panel that is associated with a .
Manages a related set of pages.
Represents a single tab page in a .
Represents a control that can be hosted in a .
Represents a control that can be hosted in a .
Represents a control that can be hosted in a cell.
Represents a control that can be hosted in a .
Represents a control that can be hosted in a cell when the cell's is set to .
Displays collapsible set of panels for presenting information in a limited amount of space.
Represents a panel in a control.
Represents a control that can display flash applications.
The TreeViewComboBox control represents a control with a as the drop down panel.
Represents a control that displays a video file.
Represents a control that plays an audio file.
Represents a control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
The TreeViewComboBox control represents a control with a as the drop down panel.
The UserComboBox control represents a control with a custom panel that drops down when the user clicks the down arrow.
Displays a hierarchical collection of labeled items, each represented by a .
The name of the column or list, within the data source, to obtain the for.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
list
The data source to examine for property information.
list
The data source to be examined for property information.
listAccessors
The PropertyDescriptor array describing which properties of the data source to examine. This can be null.
dataSource
The data source to be examined for property information.
dataMember
The optional data member to be examined for property information. This can be null.
listAccessors
The PropertyDescriptor array describing which properties of the data member to examine. This can be null.
list
The list to be examined for type information.
dataSource
The data source to examine for items.
dataMember
The optional name of the property on the data source that is to be used as the data member. This can be null.
list
The data source to examine for the list name.
listAccessors
An array of PropertyDescriptor objects to find in the data source. This can be null.
sender
The source of the event.
e
An ItemChangedEventArgs that contains the event data.
Fired when the current item has been altered.
context
An ITypeDescriptorContext that provides a format context.
culture
A CultureInfo. If null is passed, the current culture is assumed.
value
The Object to convert.
destinationType
The Type to convert the value parameter to.
context
An ITypeDescriptorContext that provides a format context.
propertyValues
An IDictionary of new property values.
context
An ITypeDescriptorContext that provides a format context.
list
The data source to examine for its underlying list.
dataSource
The data source from which to find the list.
dataMember
The name of the data source property that contains the list. This can be null.
context
An ITypeDescriptorContext that provides a format context.
destinationType
A Type that represents the type you want to convert to.