SilverlightDatePicker Class
Represents a date picker control.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightControl
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls.SilverlightDatePicker
Namespace: Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
Public Class SilverlightDatePicker _
Inherits SilverlightControl
public class SilverlightDatePicker : SilverlightControl
public ref class SilverlightDatePicker : public SilverlightControl
type SilverlightDatePicker =
class
inherit SilverlightControl
end
public class SilverlightDatePicker extends SilverlightControl
The SilverlightDatePicker type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
SilverlightDatePicker() | Initializes a new instance of the SilverlightDatePicker class. |
![]() |
SilverlightDatePicker(UITestControl) | Initializes a new instance of the SilverlightDatePicker class that has the specified parent. |
Top
Properties
Name | Description | |
---|---|---|
![]() |
AcceleratorKey | Gets the shortcut key for the control. (Inherited from SilverlightControl.) |
![]() |
AccessKey | Gets the keyboard shortcut for the control. (Inherited from SilverlightControl.) |
![]() |
AutomationId | Gets the automation ID for the control. (Inherited from SilverlightControl.) |
![]() |
BackgroundColor | Gets the background color for the control. (Inherited from SilverlightControl.) |
![]() |
BlackoutDates | Gets the blackout dates for the date picker. |
![]() |
BoundingRectangle | (Inherited from UITestControl.) |
![]() |
Calendar | Gets the calendar control for the date picker control. |
![]() |
ClassName | (Inherited from UITestControl.) |
![]() |
Container | (Inherited from UITestControl.) |
![]() |
ControlType | (Inherited from UITestControl.) |
![]() |
DisplayDate | Gets the date that is displayed on the date picker control. |
![]() |
DisplayDateEnd | Gets the last displayed date on the date picker. |
![]() |
DisplayDateStart | Gets the first displayed date on the date picker control. |
![]() |
Enabled | (Inherited from UITestControl.) |
![]() |
Exists | (Inherited from UITestControl.) |
![]() |
FilterProperties | (Inherited from UITestControl.) |
![]() |
FirstDayOfWeek | Gets the first day of the week that is used by the date picker. |
![]() |
Font | Gets the font for the control. (Inherited from SilverlightControl.) |
![]() |
ForegroundColor | Gets the foreground color of the control. (Inherited from SilverlightControl.) |
![]() |
FriendlyName | (Inherited from UITestControl.) |
![]() |
HasFocus | (Inherited from UITestControl.) |
![]() |
Height | Gets the height of the control. (Inherited from SilverlightControl.) |
![]() |
HelpText | Gets the Help text for the control. (Inherited from SilverlightControl.) |
![]() |
IsTopParent | (Inherited from UITestControl.) |
![]() |
LabeledBy | Gets the label text for the control. (Inherited from SilverlightControl.) |
![]() |
Name | (Inherited from UITestControl.) |
![]() |
NativeElement | (Inherited from UITestControl.) |
![]() |
SearchConfigurations | (Inherited from UITestControl.) |
![]() |
SearchProperties | (Inherited from UITestControl.) |
![]() |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) |
![]() |
SelectedDate | Gets or sets the selected date on the date picker control. |
![]() |
SelectedDateAsString | Gets the selected date on the date picker as a string. |
![]() |
SelectedDateFormat | Gets the selected date format. |
![]() |
ShowCalendar | Gets or sets a value that indicates whether to show the calendar control that belongs to the date picker. |
![]() |
TechnologyName | (Inherited from UITestControl.) |
![]() |
TodayHighlighted | Gets a value that indicates whether today’s date is highlighted. |
![]() |
TopParent | (Inherited from UITestControl.) |
![]() |
Width | Gets the width of the control. (Inherited from SilverlightControl.) |
![]() |
WindowHandle | (Inherited from UITestControl.) |
![]() |
WindowTitles | (Inherited from UITestControl.) |
Top
Methods
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.SilverlightControls Namespace