![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | 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> |
My System Specs![]() |
| | #2 (permalink) |
| | 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> > |
My System Specs![]() |
| | #3 (permalink) |
| | 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> > > |
My System Specs![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Black Frame | Graphic cards | |||
| Alt-Tab Frame Drop CS:S | Gaming | |||
| frame rates | Graphic cards | |||
| dot net frame work | .NET General | |||