Wisej.Web.DomainUpDown
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents a spinner control that displays string values.
Initializes a new instance of the NumericUpDown class.
DomainUpDownItemCollection: A collection of objects assigned to the spinner control.
Int32: Returns or sets the index value of the selected item. (Default: -1
)
Throws:
ArgumentOutOfRangeException The assigned value is less than the default, -1; or the assigned value is greater than the Items count.
Object: Returns or sets the selected item based on the index value of the selected item in the collection.
Boolean: Returns or sets whether the item collection is sorted. (Default: False
)
String: Returns or sets the text associated with this control. (Default: ""
)
When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<BR/>".
EventHandler Fired when the SelectedItem property has been changed.
EventHandler Fired when the Sorted property has changed.
Name | Description |
---|---|
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
Provides access to the LabelWrapper associated with the controls that implement this interface.
Provides access to the ReadOnly property for coontrols that support the read-only mode.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
Wisej.Web.DomainUpDown DomainUpDownItemCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Encapsulates a collection of objects for use by the DomainUpDown class.
Int32: Returns the number of items in the collection.
Boolean: Returns a value indicating whether this collection can be modified.
Object: Retrieves the item at the specified index within the collection.
Throws:
ArgumentOutOfRangeException The index was less than zero; or the index was greater of equal to the count of items in the collection.
Adds an object to the end of the collection.
Returns: Int32. The index at which the item has been added.
Adds a collection of objects to the end of the collection.
Removes all items from the DomainUpDown control.
Determines if the specified item is located within the collection.
Returns: Boolean. true if the item is located within the collection; otherwise, false.
Returns an enumerator that can be used to iterate through the item collection.
Returns: IEnumerator. A IEnumerator that represents the item collection.
Retrieves the index within the collection of the specified item.
Returns: Int32. The zero-based index where the item is located within the collection; otherwise, -1.
Throws:
ArgumentNullException The item parameter was null.
Inserts an element into the collection at the specified index.
Throws:
ArgumentOutOfRangeException index is less than zero, or index is greater than number of items in the collection.
Removes the first occurrence of a specific object from the collection.
Removes the element at the specified index of the collection.
Throws:
ArgumentOutOfRangeException index is less than zero; or index is equal to or greater than number of items in the collection.
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
Parameter | Type | Description |
---|---|---|
item
The Object to be added to the end of the collection. The value can be null.
items
Items to add to the end of the collection.
item
An object representing the item to locate in the collection.
item
An object representing the item to locate in the collection.
index
The zero-based index at which item should be inserted.
item
The Object to insert. The value can be null.
item
The Object to remove from the collection. The value can be null.
index
The zero-based index of the element to remove.