All Questions
Tagged with visibility .net
11
questions
72
votes
4
answers
60k
views
In WPF, how can I determine whether a control is visible to the user?
I'm displaying a very big tree with a lot of items in it. Each of these items shows information to the user through its associated UserControl control, and this information has to be updated every 250 ...
171
votes
18
answers
125k
views
How do I invert BooleanToVisibilityConverter?
I'm using a BooleanToVisibilityConverter in WPF to bind the Visibility property of a control to a Boolean. This works fine, but I'd like one of the controls to hide if the boolean is true, and show if ...
24
votes
17
answers
31k
views
C#/.NET - WinForms - Instantiate a Form without showing it
I am changing the Visibility of a Form to false during the load event AND the form still shows itself. What is the right event to tie this.Visible = false; to? I'd like to instantiate the Form1 ...
22
votes
2
answers
12k
views
What does a public constructor on an internal class mean [duplicate]
I've seen some C# code that declares a class with an internal modifier, with a public constructor:
internal class SomeClass
{
public SomeClass()
{
}
}
What is the point of having a ...
12
votes
4
answers
9k
views
How can I determine programmatically whether the Windows taskbar is hidden or not?
I need to know whether the Windows taskbar is hidden or not. I believe there is no .NET method to do this, and also I have come across a lot of "how to hide and show the taskbar" samples, but I haven'...
9
votes
3
answers
5k
views
Overriding an internal abstract method in another assembly
Im currently working on a c# project that uses another .net library. This library does (amongst other things) parse a sequence into a tree. All items are of some type that inherits from the abstract ...
6
votes
3
answers
17k
views
Make GridView footer visible when there is no data bound
how to show footer when there is no data in gridview for inserting data from footer.
8
votes
1
answer
4k
views
TargetNullValue for Visibility that's bound to a boolean
I have a Grid whose Visibility property is bound to a boolean property of a certain model using a Converter:
<Grid Visibility="{Binding ElementName=MyTreeView, Path=SelectedItem.MyBoolProperty, ...
6
votes
5
answers
6k
views
How can I detect the visibility of a control?
How to detect if a control is visible to a user? I have a control that displays status of application, and I want it to be updated (it's value to be updated, for example, increase the value of a ...
4
votes
2
answers
3k
views
Why do Columns not stay hidden after calling DataGridView.Columns.Clear()?
I have seen a lot of posts on SO about weird behaviour of Columns and their visibility in particular when refreshing the grid and dynamically building the columns in the list, but haven't found a ...
0
votes
1
answer
546
views
Update WPF from .NET 4 to 4.5.2, DataGridTextColumn Visibility DataContext reference broken
I've upgraded a WPF project to .NET 4.5.2. In a xaml file, I have the following line.
<UserControl
x:Class="Casa.Project.Client.Views.Projects.ProjectSearch"
xmlns="http://schemas....