![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | Trouble customizing a frame in WPF Hello- I am doing some testing for an upcoming project and have run into some trouble. I have a frame tag with the source set to "http://live.com" as a test. However, I am unable to affect the opacity, or transform the tag at all. <Frame Canvas.Top="0" Canvas.Left="0" Height="420" Width="600" ScrollViewer.CanContentScroll="False" Source="http://live.com"></Frame> any help would be greatly appreciated, as it seems I can't do anything to the frame! Thank you. Chris |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Trouble customizing a frame in WPF Visual elements that host content which isn't WPF related, such as the frame holding HTML don't support most of the translations or custom WPF effects. Under the covers, the frame is hosting the IE web browser object to render the HTML. Most translations and effects rely on the composition engine which puts things together in memory and then displays it to the underlying single HWND for the window. The IE web browser control creates its own HWND and so WPF simply cannot do its magic in this case. This problem isn't unique to Frame, it also happens with any embedded Windows Forms control, ActiveX control, etc. You might check out the RSS sample Microsoft posted recently - it has some code in it to parse and render HTML natively in WPF IIRC. You could use something similar to display your HTML content and get the effects you desire. Good luck, Mark Smith |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
Customizing the Desktop | General Discussion | |||
| Customizing IE 8 | Browsers & Mail | |||
| Customizing Vista | Vista General | |||
| Customizing Folders | Vista General | |||
| customizing right_click->new | Vista General | |||