Skip to main content

All Questions

Tagged with
1 vote
1 answer
2k views

ListView item visibility based on boolean

I am trying to filter ListView Items based on input text, and because the selection is removed, I am trying to set visibilty to invisible based on a boolean(I hope this wont remove the selection of ...
someone1's user avatar
0 votes
0 answers
807 views

Visibility of element within ListView not working correctly

I have a ListView, bound to an ObservableCollection, with a template that contains views that are made visible/invisible through user interaction. However, the visibility switching does not work as ...
Frauke's user avatar
  • 1,582
1 vote
2 answers
2k views

Is there a way to hide a ListView in xaml?

I have following problem. My ListView has a gray background and when the ListView is empty, you can see a small gray line on the window. This looks ugly and so I want to hide the whole ListView when ...
Florin M's user avatar
  • 445
6 votes
1 answer
7k views

Hiding ListViewItem instead of removing it?

The common way to NOT display a ListViewItem is to remove it. I my current project, this makes things too complicated compared to the possibility of just hiding the item. Is there any way to hide a ...
joe's user avatar
  • 8,614
7 votes
1 answer
76k views

String was not recognized as a valid Boolean when added to visible attribute

I'm trying to add a true or false Visible attribute to my listview itemtemplate table. What I did is that I have a hiddenfield that is set at page load so that I can make a specific column visible or ...
marchemike's user avatar
  • 3,257
2 votes
1 answer
409 views

Hiding elements in a GridView (used as a ListView's view) completely?

I have a ListView and a button. Now, when I press the button I want to display only the elements that meet the required criteria. I'm using a converter on the visibility of the items, but if I return ...
NLuburić's user avatar
  • 922
5 votes
2 answers
5k views

Check Scrollbar Visibility

Is there a way to check if the Vertical Scroll Bar is visible on a certain ListView object? I got a Windows Forms with a listView on it, on the resize event i would like to catch if the listview has ...
Cloaky's user avatar
  • 1,115
0 votes
2 answers
699 views

on button click the visibility of a column in listview should set to false

how can a visibility of a particular column can set to false in a listview..that is the column should exists in the client site but in hidden form... what is the option other than setting the width to ...
zoya's user avatar
  • 473
19 votes
7 answers
40k views

C#/WPF: Make a GridViewColumn Visible=false?

Is there an option to hide a GridViewColumn somehow like this: <ListView.View> <GridView> <GridViewColumn Header="Test" IsVisible="{Binding Path=...
Joseph jun. Melettukunnel's user avatar