Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
Custom server for WPF infragistic control in QTP 9.5

Hi, Please help me in understanding whether we can create the custom server for wpf infragistic controls or not?

I tried creating a custom server for XamDateTimeEditor and using the



XamDateTimeEditor dateTimeEditor = (Infragistics.Windows.Editors.XamDateTimeEditor)SourceControl;



to extract the XamDateTimeEditor object properties but it is throughing an error stating that..

"Cannot convert type 'System.Windows.Forms.Control' to 'Infragistics.Windows.Editors.XamDateTimeEditor'"

please let me know is there any other way to extract object properties instead of using Sourcecontrol,

Thanks In Advance. kindly help.