Click here to Skip to main content
15,867,568 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF or Windows Forms Pin
dfreeser2-Apr-09 5:56
dfreeser2-Apr-09 5:56 
QuestionSet style definition dynamically Pin
salon1-Apr-09 3:46
salon1-Apr-09 3:46 
AnswerRe: Set style definition dynamically Pin
Mark Salsbery1-Apr-09 7:42
Mark Salsbery1-Apr-09 7:42 
GeneralRe: Set style definition dynamically Pin
salon1-Apr-09 20:48
salon1-Apr-09 20:48 
GeneralRe: Set style definition dynamically Pin
Mark Salsbery2-Apr-09 5:26
Mark Salsbery2-Apr-09 5:26 
QuestionSys.InvalidOprationException.ManageRunTimeError error #4004 in control 'Xaml1 Pin
Piyush Vardhan Singh1-Apr-09 0:17
Piyush Vardhan Singh1-Apr-09 0:17 
AnswerRe: Sys.InvalidOprationException.ManageRunTimeError error #4004 in control 'Xaml1 Pin
Piyush Vardhan Singh1-Apr-09 2:02
Piyush Vardhan Singh1-Apr-09 2:02 
QuestionHorizontal scrollbar in empty listview disappears Pin
Pankaj Chamria31-Mar-09 23:22
Pankaj Chamria31-Mar-09 23:22 
Hi,
I have a listview as below:
<br />
<Window x:Class="Practice.WPF.ListViewTest"<br />
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"<br />
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"<br />
    Title="ListViewTest" Height="300" Width="75" Closed="Window_Closed"><br />
<br />
<ListView x:Name="listView" ScrollViewer.IsDeferredScrollingEnabled="True" VirtualizingStackPanel.IsVirtualizing="True"><br />
            <ListView.View ><br />
                <GridView ><br />
                    <GridViewColumn Header="Id" DisplayMemberBinding="{Binding Path=Id}"></GridViewColumn><br />
                    <GridViewColumn Header="Name" DisplayMemberBinding="{Binding Path=Name}"></GridViewColumn><br />
                    <GridViewColumn Header="Price" DisplayMemberBinding="{Binding Path=Price}"></GridViewColumn><br />
                    <GridViewColumn Header="Date" DisplayMemberBinding="{Binding Path=Date}"><br />
</GridViewColumn><br />
                    <GridViewColumn Header="Quantity" DisplayMemberBinding="{Binding Path=Quantity}"></GridViewColumn><br />
                </GridView><br />
            </ListView.View><br />
        </ListView><br />
    </Grid><br />
</Window><br />


The problem is when there is no data bound to the listview the horizontal scrollbar disappears, and the Headers get cut off. I want the horizontal scrollbar to be still visible.
(My requirement may sound weird, but i want this functionality for a listview which displays streaming numerical data and has filters on column headers. Sometimes the filter condition does not satisfy any of the rows so the listview becomes empty and horizontal scrollbar disappears. Now some of the columns will get cut off and the user cannot scroll to that column and clear the filter.)

ANy ideas how i achieve this.

Pankaj Chamria,
Software Programmer.

AnswerRe: Horizontal scrollbar in empty listview disappears Pin
ABitSmart1-Apr-09 1:03
ABitSmart1-Apr-09 1:03 
GeneralRe: Horizontal scrollbar in empty listview disappears Pin
Pankaj Chamria3-Apr-09 6:16
Pankaj Chamria3-Apr-09 6:16 
GeneralRe: Horizontal scrollbar in empty listview disappears Pin
ABitSmart3-Apr-09 6:33
ABitSmart3-Apr-09 6:33 
Questionhow assign theme in silverlight2? Pin
Piyush Vardhan Singh31-Mar-09 20:57
Piyush Vardhan Singh31-Mar-09 20:57 
AnswerRe: how assign theme in silverlight2? Pin
Piyush Vardhan Singh1-Apr-09 2:07
Piyush Vardhan Singh1-Apr-09 2:07 
QuestionRe: how assign theme in silverlight2? Pin
Mark Salsbery1-Apr-09 6:56
Mark Salsbery1-Apr-09 6:56 
AnswerRe: how assign theme in silverlight2? Pin
Piyush Vardhan Singh1-Apr-09 19:39
Piyush Vardhan Singh1-Apr-09 19:39 
QuestionTreeView in WPF ? Pin
Mohammad Dayyan31-Mar-09 20:47
Mohammad Dayyan31-Mar-09 20:47 
AnswerRe: TreeView in WPF ? Pin
ABitSmart31-Mar-09 20:51
ABitSmart31-Mar-09 20:51 
GeneralRe: TreeView in WPF ? Pin
Mohammad Dayyan31-Mar-09 20:57
Mohammad Dayyan31-Mar-09 20:57 
GeneralRe: TreeView in WPF ? Pin
ABitSmart31-Mar-09 21:10
ABitSmart31-Mar-09 21:10 
GeneralRe: TreeView in WPF ? Pin
Mohammad Dayyan31-Mar-09 21:14
Mohammad Dayyan31-Mar-09 21:14 
GeneralRe: TreeView in WPF ? Pin
ABitSmart31-Mar-09 21:24
ABitSmart31-Mar-09 21:24 
GeneralRe: TreeView in WPF ? Pin
Pete O'Hanlon31-Mar-09 21:59
subeditorPete O'Hanlon31-Mar-09 21:59 
GeneralRe: TreeView in WPF ? Pin
ABitSmart31-Mar-09 22:07
ABitSmart31-Mar-09 22:07 
GeneralRe: TreeView in WPF ? Pin
Pete O'Hanlon31-Mar-09 22:10
subeditorPete O'Hanlon31-Mar-09 22:10 
GeneralRe: TreeView in WPF ? Pin
ABitSmart31-Mar-09 22:16
ABitSmart31-Mar-09 22:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.