Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [visibility]

Visibility is an attribute of an object. It may refer to the concept of having something visible (or not) on the graphical interface, or a symbol visibility in linkage. This tag should not be used in place of the more specific tags [memory-visibility] or [class-visibility].

visibility
1 vote
4 answers
1k views

Can you control the order in which images (hidden vs visible) on a web page are loaded?

If I have two divs, one shown, the other hidden, I want the images in the visible div to load first and only then for the other hidden images to load. Is there a way to do this? <div class="...
1 vote
3 answers
1k views

Difference between JS style.display and .NET visible

I have seen some instances where people will say you have to use JS .style.display = 'none'; and that .NET .Visible = false will not work. What is the difference between the two and why would ...
1 vote
1 answer
331 views

Need help understanding problem alternating visibility of a DIV by dynamically switching classes

This code attempts to dynamically switch the class of the StateContainer div from StateOne to StateTwo to alternate the visibility of the DIV. When I run it, I always see the following both before ...
2 votes
3 answers
5k views

How to change visibility of first row in datagridview

I am using datagridview and its datasource is a BindingList. But when I try to change the visibility of first row, I am getting InvalidOperationException. How can I change first row's visible value? ...
11 votes
5 answers
6k views

How can I check if one game object can see another?

I have an object, that is facing a particular direction with (for instance) a 45 degree field of view, and a limit view range. I have done all the initial checks (Quadtree node, and distance), but now ...
2 votes
3 answers
742 views

Calculating how visible an object is in a 3D-scene for use in game logic/AI

I am starting a game project which will allow characters to hide in dark areas. Hiding in a dark corner should make it harder for other characters to see you. What I need is a way to calculate how ...
8 votes
1 answer
8k views

Bind ContextMenu's MenuItem visibility to ListView selection

I have a user control with a ListView containing simple items from an ObservableCollection. I would like the ContextMenu of that ListView to contain items depending on what's selected in the ListView. ...
1 vote
1 answer
4k views

Changing visibility does not immediately hide iFrame

I have a page that on a certain action makes an iframe visible and fills the iframe with some HTML (say for example a multi-select box and an ok button). The OK button on the iframe has the onClick ...
1 vote
2 answers
7k views

ASP.NET C# OnMouseOver Event to Make ListBox Appear and Disappear

I have a single webform that has a listbox and a button. When the onmousover event fires the listbox will appear; however on page load, the listbox should not be visible. I have the following code (...
5 votes
1 answer
9k views

Testing the scrollbar visibility of a ListBox in code-behind

How to check whether the vertical scrollbar of the listbox is visible in code-behind? I have a listbox with x:Name="listOfItems" and its underlying ScrollViewer's VerticalScrollbarVisibility is set ...
2 votes
2 answers
7k views

toggle div visibility with a checkbox list

I have a web application(ASP.NET2.0 C#). Within it, I have a div that contains a checkbox list and a button. I want to toggle the div viewing, so I got some javascript code online to help me. Heres ...
1 vote
5 answers
2k views

method visibility between classes in java

In Java (And in general) is there a way to make a class so public that it's methods etc... are accessible from little classes all around that don't even instantiate it? Ha, what I mean is... If I have ...
2 votes
2 answers
3k views

problem of conditional visibility and page breaks with rectangles in SSRS 2005

I am trying to insert a conditional page break, actually i had a report of 50 pages with invoices each invoice is 3 pages long so i need a paghebreak for the 2nd invoice t printon the next page as i ...
1 vote
1 answer
385 views

Using internal in package gives error

I'm trying to place a class into a package where another public class is placed. The documentation says that only one external visible declaration can be put in a package. So i declare the second ...

15 30 50 per page
1
209 210 211 212
213