![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Frame Disappearing on Clicking the ListViewItem Hello, I have a simple WPF app, which has a grid with 2 rows, Row 1 has a frame pointing to http://www.microsoft.com Row 2 has a listview with couple of Listviewitems I have also set the Window Property ResizeMode="NoResize" and WindowStyle="None" When I click on the Listviewitem, the upper frame goes transparent. This happens even if I replace <frame> with webbrowser control hosted by WindowsFormsHost. Is this a WPF bug?, is there a workaround. Below is the Xaml. Please help Regards Srini <Window x:Class="TransparentFrame.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="TransparentFrame" Height="600" Width="300" ResizeMode="NoResize" WindowStyle="None" > <Grid> <Grid.RowDefinitions> <RowDefinition Height="0.80*"/> <RowDefinition Height="0.20*"/> </Grid.RowDefinitions> <Frame Grid.Row="0" Source="http://www.microsoft.com" NavigationUIVisibility="Hidden"/> <ListView Grid.Row="1"> <ListViewItem>Test1</ListViewItem> <ListViewItem>Test2</ListViewItem> </ListView> </Grid> </Window> |
| | #2 (permalink) |
| Guest | RE: Frame Disappearing on Clicking the ListViewItem I was not able to repro this. What hardware are you running on (video card), and what version of WPF do you have? What OS are you running? "Srini" wrote: > Hello, > I have a simple WPF app, which has a grid with 2 rows, > Row 1 has a frame pointing to http://www.microsoft.com > Row 2 has a listview with couple of Listviewitems > I have also set the Window Property ResizeMode="NoResize" and > WindowStyle="None" > > When I click on the Listviewitem, the upper frame goes transparent. > > This happens even if I replace <frame> with webbrowser control hosted by > WindowsFormsHost. > > Is this a WPF bug?, is there a workaround. Below is the Xaml. Please help > Regards > Srini > > > <Window x:Class="TransparentFrame.Window1" > xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" > xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > Title="TransparentFrame" Height="600" Width="300" > ResizeMode="NoResize" > WindowStyle="None" > > > <Grid> > <Grid.RowDefinitions> > <RowDefinition Height="0.80*"/> > <RowDefinition Height="0.20*"/> > </Grid.RowDefinitions> > <Frame Grid.Row="0" Source="http://www.microsoft.com" > NavigationUIVisibility="Hidden"/> > <ListView Grid.Row="1"> > <ListViewItem>Test1</ListViewItem> > <ListViewItem>Test2</ListViewItem> > </ListView> > </Grid> > </Window> > |
| | #3 (permalink) |
| Guest | RE: Frame Disappearing on Clicking the ListViewItem Its a regular desktop(x86), my current configuration is Windows Vista 5600, Windows SDK 5536, with Aero turned On. But I have been seeing this issue since Windows Vista 5456 and later(till 5600), Windows SDK 5456 and later, .Net Runtime 3.0 June CTP and later. The video card on my box is X600 Radeon, but have seen this issue with other Video Cards too. The common recipe to repro the problem is that it should be Windows Vista with aero turned on(should see glass everywhere) and the two Window Properties should be set ResizeMode="NoResize" WindowStyle="None" To elaborate, in Visual studio 2005 create a new WinFX Windows Application Go to window.xaml. Replace <Grid></Grid> with <StackPanel> <Frame Source="http://www.microsoft.com" Height="200" NavigationUIVisibility="Hidden"/> <Button>test</Button> </StackPanel> Add these to properties to Window element ResizeMode="NoResize" WindowStyle="None" and F5. And hover over the button, the frame will disappear. Regards Srini "TheRHogue" wrote: > I was not able to repro this. > > What hardware are you running on (video card), and what version of WPF do > you have? What OS are you running? > > > > "Srini" wrote: > > > Hello, > > I have a simple WPF app, which has a grid with 2 rows, > > Row 1 has a frame pointing to http://www.microsoft.com > > Row 2 has a listview with couple of Listviewitems > > I have also set the Window Property ResizeMode="NoResize" and > > WindowStyle="None" > > > > When I click on the Listviewitem, the upper frame goes transparent. > > > > This happens even if I replace <frame> with webbrowser control hosted by > > WindowsFormsHost. > > > > Is this a WPF bug?, is there a workaround. Below is the Xaml. Please help > > Regards > > Srini > > > > > > <Window x:Class="TransparentFrame.Window1" > > xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" > > xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" > > Title="TransparentFrame" Height="600" Width="300" > > ResizeMode="NoResize" > > WindowStyle="None" > > > > > <Grid> > > <Grid.RowDefinitions> > > <RowDefinition Height="0.80*"/> > > <RowDefinition Height="0.20*"/> > > </Grid.RowDefinitions> > > <Frame Grid.Row="0" Source="http://www.microsoft.com" > > NavigationUIVisibility="Hidden"/> > > <ListView Grid.Row="1"> > > <ListViewItem>Test1</ListViewItem> > > <ListViewItem>Test2</ListViewItem> > > </ListView> > > </Grid> > > </Window> > > |
| |
| |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 8800GT Frame Rate | Viking707 | Graphic cards | 10 | 2 Days Ago 04:11 AM |
| frame rates | gazz496 | Graphic cards | 2 | 06-18-2008 04:51 PM |
| Alt-Tab Frame Drop CS:S | rockster | Gaming | 13 | 05-27-2008 12:18 AM |
| dot net frame work | davi | .NET General | 0 | 03-29-2008 11:50 AM |
| Trouble customizing a frame in WPF | Chris Lincoln | Avalon | 2 | 01-17-2007 05:57 AM |