WinDateTimePicker Class
Represents a control for selecting a date or time in the user interface (UI) of Windows Forms.
Inheritance Hierarchy
Object
Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinControl
Microsoft.VisualStudio.TestTools.UITesting.WinControls.WinDateTimePicker
Namespace: Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
<CLSCompliantAttribute(True)> _
Public Class WinDateTimePicker _
Inherits WinControl
[CLSCompliantAttribute(true)]
public class WinDateTimePicker : WinControl
[CLSCompliantAttribute(true)]
public ref class WinDateTimePicker : public WinControl
[<CLSCompliantAttribute(true)>]
type WinDateTimePicker =
class
inherit WinControl
end
public class WinDateTimePicker extends WinControl
The WinDateTimePicker type exposes the following members.
Constructors
Name | Description | |
---|---|---|
WinDateTimePicker() | Initializes a new instance of the WinDateTimePicker class. | |
WinDateTimePicker(UITestControl) | Initializes a new instance of the WinDateTimePicker class by using the provided parent control. |
Top
Properties
Name | Description | |
---|---|---|
AccessibleDescription | Gets the description of the underlying IAccessible of this WinControl. (Inherited from WinControl.) | |
AccessKey | Gets the access key that is assigned to this control. (Inherited from WinControl.) | |
BoundingRectangle | (Inherited from UITestControl.) | |
Calendar | Gets the calendar part of this date time picker control. | |
Checked | Gets or sets a value that indicates whether this date time picker control is checked. | |
ClassName | (Inherited from UITestControl.) | |
Container | (Inherited from UITestControl.) | |
ControlId | Gets the ID that is assigned to this control. (Inherited from WinControl.) | |
ControlName | Gets the name of this control. (Inherited from WinControl.) | |
ControlType | (Inherited from UITestControl.) | |
DateTime | Gets or sets the selected date and time for this date time picker control. | |
DateTimeAsString | Gets or sets the selected date and time for this date time picker control as a string. | |
Enabled | (Inherited from UITestControl.) | |
Exists | (Inherited from UITestControl.) | |
FilterProperties | (Inherited from UITestControl.) | |
Format | Gets the format for this date time picker control. | |
FriendlyName | (Inherited from UITestControl.) | |
HasCheckBox | Gets a value that indicates whether this date time picker control has a check box component. | |
HasDropDownButton | Gets a value that indicates whether this date time picker control has a drop-down button component. | |
HasFocus | (Inherited from UITestControl.) | |
HasSpinner | Gets a value that indicates whether this date time picker control has a spinner component. | |
Height | (Inherited from UITestControl.) | |
HelpText | Gets the help text that is assigned to this control. (Inherited from WinControl.) | |
IsTopParent | (Inherited from UITestControl.) | |
Left | (Inherited from UITestControl.) | |
Name | (Inherited from UITestControl.) | |
NativeElement | (Inherited from UITestControl.) | |
SearchConfigurations | (Inherited from UITestControl.) | |
SearchProperties | (Inherited from UITestControl.) | |
SearchPropertiesSetExplicitly | (Inherited from UITestControl.) | |
ShowCalendar | Gets or sets a value that indicates whether the calendar component of this date time picker control is visible. | |
State | (Inherited from UITestControl.) | |
TechnologyName | (Inherited from UITestControl.) | |
ToolTipText | (Inherited from WinControl.) | |
Top | (Inherited from UITestControl.) | |
TopParent | (Inherited from UITestControl.) | |
Width | (Inherited from UITestControl.) | |
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.WinControls Namespace