Holds a colleciton of selected dates for a Silverlight Calendar control.
Inheritance Hierarchy
ArtOfTest.WebAii.SilverlightAutomationObjectSelectedDatesCollection
ArtOfTest.WebAii.SilverlightSelectedDatesCollection
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public class SelectedDatesCollection : AutomationObject<SelectedDatesCollection>, IList<DateTime>, ICollection<DateTime>, IEnumerable<DateTime>, IEnumerable
The SelectedDatesCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SelectedDatesCollection |
Constructs a new SelectedDatesCollection object.
|
Properties
Name | Description | |
---|---|---|
Collection |
Gets / Sets the collection of DateTime objects this class contains.
| |
Count |
Returns the number of items contained in this collection.
| |
IsReadOnly |
Always returns True.
| |
Item |
Gets / Sets the DateTime at the specified index.
| |
PropertyBag |
The automation object property bag.
(Inherited from AutomationObjectT.) | |
Reference |
Get or set the object reference.
(Inherited from AutomationObjectT.) |
Methods
Name | Description | |
---|---|---|
Add |
Adds a DateTime to this collection.
| |
AssignReference |
Assign a reference to this AutomationObject.
(Inherited from AutomationObjectT.) | |
Clear |
Clears this collection.
| |
Contains |
Returns true if this collection contains the specified DateTime.
| |
CopyTo |
Copies this collection to the specified array.
| |
Deserialize |
Deserialize this AutomationObject to a jsonString
TODO: Should this be a static method?
(Inherited from AutomationObjectT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromRealObject |
Converts a real Silverlight object into this wrapped object.
(Overrides AutomationObjectTFromRealObject(Object).) | |
GetEnumerator |
Returns an IEnumeratorT that supports a simple iteration over a collection of DateTime objects.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProperty(AutomationProperty) |
Get a property on this automation object.
(Inherited from AutomationObjectT.) | |
GetProperty(AutomationProperty, Object) |
Gets a property on this automation object, or returns a default value if the property cannot be retrieved
(Inherited from AutomationObjectT.) | |
GetRealType |
Gets a string representing the Silverlight type this class wraps.
(Overrides AutomationObjectTGetRealType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Gets the index of the specified DateTime.
| |
Insert |
Inserts the specified DateTime into the collection at the specified index. Existing DateTime
values are moved down one index.
| |
InvokeMethod(String, Object) |
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.) | |
InvokeMethod(AutomationMethod, Object) |
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes the specified DateTime from the collection.
| |
RemoveAt |
Removes the DateTime at the specified index from this collection.
| |
Serialize |
Serialize this automation object to a Json String
(Inherited from AutomationObjectT.) | |
SetProperty |
Set a property on this automation object.
(Inherited from AutomationObjectT.) | |
ToRealObject |
Throws the NotSupportedException because this object cannot be converted into a real Silverlight object.
(Overrides AutomationObjectTToRealObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also