Skip to main content

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].

99 votes
4 answers
66k views

Binding Visibility for DataGridColumn in WPF

How can I hide a column in a WPF DataGrid through a Binding? This is what I did: <DataGridTextColumn Header="Column header" Binding="{Binding ColumnValue}" ...
ygoe's user avatar
  • 19.8k
97 votes
13 answers
106k views

Determine whether UIView is visible to the user?

Is it possible to determine whether my UIView is visible to the user or not? My View is added as a subview several times into a UITabBarController. Each instance of this view has an NSTimer that ...
jantimon's user avatar
  • 37.7k
97 votes
3 answers
55k views

What is DOM reflow?

I was reading about the difference between two CSS properties display:none and visibility:hidden and encountered the DOM reflow term. The statement was display: none causes a DOM reflow whereas ...
Suresh Karia's user avatar
84 votes
9 answers
26k views

android View with View.GONE still receives onTouch and onClick

This is confusing me: As far as I have read, a view with setVisibility(View.GONE); should not receive any more touch- or click events. My layout has two parts, which will be visible or gone so that ...
ShadowMare's user avatar
  • 2,097
84 votes
5 answers
96k views

Protected and private methods in Rails

Method visibility in Ruby (public, protected, and private methods) has been well explained in places like this blog post. But in Ruby on Rails it seems slightly different than it would be in a regular ...
jrdioko's user avatar
  • 33k
82 votes
4 answers
62k views

CSS: Is a hidden object clickable?

If the visibility property of the style of an HTML element is set to hidden, is it still clickable? When the display property is set to none, the element is not even part of the DOM tree, so that is ...
euphoria83's user avatar
82 votes
3 answers
11k views

Why is there no sub-class visibility modifier in Java?

On more than one occasion I have found myself desiring a variable visibility that is not possible in Java. I wanted certain members to be visible within their own class and within any sub-classes, ...
Michael McGowan's user avatar
80 votes
13 answers
34k views

iOS equivalent for Android View.GONE visibility mode

I'm developing an app for iOS and I'm using the Storyboard with AutoLayout ON. One of my view controllers has a set of 4 buttons, and in certain circumstances i would like to make the first one ...
elbuild's user avatar
  • 4,889
76 votes
5 answers
46k views

jquery fade element does not show elements styled 'visibility: hidden'

I have a bunch of thumbnails which I am loading with a style of visibility: hidden; so that they all maintain their correct layouts. Once the page is fully loaded I have a jquery function that fades ...
kalpaitch's user avatar
  • 5,241
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 ...
Trap's user avatar
  • 12.3k
71 votes
4 answers
41k views

UIView hide children views when out of bounds

I have a view, lets say 100x100. And it has set of uiviews as subviews: let say 30x30 If a subview has top-left coordinate: (90,90) - I expect to see only part of this subview. But I still see entire ...
user349302's user avatar
  • 3,691
71 votes
3 answers
38k views

Is there any way to set a private/protected static property using reflection classes?

I am trying to perform a backup/restore function for static properties of classes. I can get a list of all of the static properties and their values using the reflection objects getStaticProperties() ...
dqhendricks's user avatar
  • 19.2k
71 votes
2 answers
37k views

What is the CMake equivalent to "gcc -fvisibility=hidden" when controlling the exported symbol of a shared library?

I developed cross platform software in c++. As I know, Linux .so exported all the symbols by default, well through "gcc -fvisibility=hidden" I can set all the exported symbols as hidden, then set ...
sailing's user avatar
  • 710
71 votes
5 answers
28k views

Why does jQuery show/hide use display:none instead of visibility:hidden?

display:none means that the element isn't rendered as part of the DOM, so it's not loaded until the display property changes to something else. visibility:hidden loads the element, but does not show ...
isayno's user avatar
  • 755
68 votes
6 answers
29k views

Why doesn't setVisibility work after a view is animated?

Why doesn't the textView become invisible? Here is my layout xml: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:...
ZippyFerguson's user avatar

15 30 50 per page