Accessing Foreground property of WPF Textbox

Class library usage, coding and language questions.
Rick Rosson
Posts: 2
Joined: Mon Feb 01, 2010 6:35 pm

Accessing Foreground property of WPF Textbox

Post by Rick Rosson » Mon Feb 01, 2010 8:49 pm

How do you access the foreground property of a textbox in WPF?

Currently we are accessing it using the Ranorex.Text control. I have tried casting it to a Ranorex.Control so that I could call GetProperty but receive a compile error. I have also checked the attributes of the underlying element for the Text control and it was not there either.

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing Foreground property of WPF Textbox

Post by Support Team » Tue Feb 02, 2010 6:23 pm

Getting and setting properties of WPF controls is currently not supported, we provide that functionality for WinForms controls only. However, this is a wanted feature and is likely to be implemented in one of our next releases.

Regards,
Alex
Ranorex Support Team
.
Image

Rick Rosson
Posts: 2
Joined: Mon Feb 01, 2010 6:35 pm

Re: Accessing Foreground property of WPF Textbox

Post by Rick Rosson » Wed Feb 03, 2010 12:30 pm

Please Let me know when this feature is added. We are very interested in your Ranorex Studio. In the meantime we will continue to look at all the other features Ranorex offers until our free trial runs out.

Thanks

Rick Rosson

Marianne Jacobsen
Posts: 44
Joined: Fri Oct 26, 2007 1:18 pm

Re: Accessing Foreground property of WPF Textbox

Post by Marianne Jacobsen » Wed Oct 13, 2010 11:55 am

Any news on when this will be implemented?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing Foreground property of WPF Textbox

Post by Support Team » Wed Oct 13, 2010 12:06 pm

Hi,

Sorry but we cannot tell you an exact date yet. It should be available soonest next year.

Regards,
Peter
Ranorex Team
.
Image

johnson.zhuang
Posts: 4
Joined: Wed Aug 03, 2011 8:11 pm

Re: Accessing Foreground property of WPF Textbox

Post by johnson.zhuang » Fri Feb 10, 2012 8:37 pm

Is this available now in version 3.2.1? Thanks!

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing Foreground property of WPF Textbox

Post by Support Team » Mon Feb 13, 2012 2:00 pm

Hi,
johnson.zhuang wrote:Is this available now in version 3.2.1? Thanks!
Sorry but this feature was postponed, because there were to few requests for this feature. But in a future release of Ranorex we will release a new WPF Plug-In where such features should be available. Currently you have to ask your developers if the write these properties to the helptext. Or they provide you a way to get these properties.

Regards,
Peter
Ranorex Team
.
Image

johnson.zhuang
Posts: 4
Joined: Wed Aug 03, 2011 8:11 pm

Re: Accessing Foreground property of WPF Textbox

Post by johnson.zhuang » Fri Mar 09, 2012 4:20 pm

We've moved most of our application development from WinForms to WPF and in a lot the cases we need fucntionalities like this that are available currently only for WinForms. I was just wondering if the new WPF plugin will be available sometime soon. Will it be available sometime in 2012 at all?

Thanks,
Johnson

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Accessing Foreground property of WPF Textbox

Post by Support Team » Mon Mar 12, 2012 12:17 pm

johnson.zhuang wrote:Will it be available sometime in 2012 at all?
Currently we are evaluating the various approaches to improve our WPF-Plug-In. I cannot promise you if this year a whole new plug-in for WPF will be released, but for sure we will improve the current one.

Regards,
Peter
Ranorex Team
.
Image