asdfasdfasdfasd
16 years agoContributor
Working with DevComponents WpfEditors (.NET WPF)
Hi, our WPF AUT has had DevComponents WpfDock, WpfRibbon, and WpfEditors for
a while now. I'm coming across a situation where setting a value to a DevComponent
object that used to work before, using its 'Value' property, no longer works
for one reason or another. At this time, I cannot determine if it's TestComplete
or AUT.
The class is IntegerInput class and I'm trying to use the 'Value' property
to set a value, but it requires a Nullable(Of Integer) type. This type cannot
be reproduced in the TestComplete environment (I think). I could as a workaround
use the up/down controls, but it's somewhat inconvenient and I'd rather set
the value directly.
Here are some more notes:
1. In Object Browser, Value property description says:
System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]] Value;
2. I tried looking for .NET methods to set the value and the only methods
I found were SetValue and its overloaded siblings, but I'm unable to use
them due to argument requirements that it needs (e.g., System.Windows.DependencyPropertyKey).
If it's possible to get some assistance, I'd appreciate it.
a while now. I'm coming across a situation where setting a value to a DevComponent
object that used to work before, using its 'Value' property, no longer works
for one reason or another. At this time, I cannot determine if it's TestComplete
or AUT.
The class is IntegerInput class and I'm trying to use the 'Value' property
to set a value, but it requires a Nullable(Of Integer) type. This type cannot
be reproduced in the TestComplete environment (I think). I could as a workaround
use the up/down controls, but it's somewhat inconvenient and I'd rather set
the value directly.
Here are some more notes:
1. In Object Browser, Value property description says:
System.Nullable`1[[System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089]] Value;
2. I tried looking for .NET methods to set the value and the only methods
I found were SetValue and its overloaded siblings, but I'm unable to use
them due to argument requirements that it needs (e.g., System.Windows.DependencyPropertyKey).
If it's possible to get some assistance, I'd appreciate it.