I've got a Silverlight DateTime element and I can attach to it without issues. When I read it's value, I get the current selected date. However, I want to set the date. Is this possible or is this control read-only? Do I have to write code to work with all the underlying buttons that represent the individual days?
Thanks,
Aracknid
Is a DateTime element Read-Only?
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Is a DateTime element Read-Only?
Hi,
If you use the DateTimePicker you can set the text of the ComboBox, but if you use the DateTime calendar there is no change to set the value, because the attributes are read only. We use the UIAutomation framework of Microsoft and this framework return us the value as Read Only property. The only way to set the DateTime of the calendar is to use the button control inside this element.
Regards,
Peter
Ranorex Team
If you use the DateTimePicker you can set the text of the ComboBox, but if you use the DateTime calendar there is no change to set the value, because the attributes are read only. We use the UIAutomation framework of Microsoft and this framework return us the value as Read Only property. The only way to set the DateTime of the calendar is to use the button control inside this element.
Regards,
Peter
Ranorex Team