Top "Visibility" questions

Visibility is an attribute of an object.

WPF - How do I default the Visibility of a databound Textblock?

This Textblock, defined below, shows when the window first loads because it has no Datacontext (and hence the converter code …

wpf default visibility textblock databound
MVVM pattern violation: MediaElement.Play()

I understand that ViewModel shouldn't have any knowledge of View, but how can I call MediaElement.Play() method from ViewModel, …

wpf mvvm visibility mediaelement
RemoteViews setViewVisibility on Android Widget

In my AppWidgetProvider, I do following: @Override public void onReceive(Context ctx, Intent intent) { final String action = intent.getAction(); if (…

java android widget visibility remoteview
ASP.NET MVC SiteMap provider -- How to 'hide' single items in the actual menu

I am using the ASP.NET MVC SiteMap provider in a project, and it is working great. I am having …

asp.net-mvc menu visibility nodes mvcsitemapprovider
the use of private keyword

I am new to programming. I am learning Java now, there is something I am not really sure, that the …

java oop visibility
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 …

java language-design visibility
Using clang++, -fvisibility=hidden, and typeinfo, and type-erasure

This is a scaled down version of a problem I am facing with clang++ on Mac OS X. This was …

c++ g++ visibility elf clang++
How to hide combobox toggle button if there is only one item?

I have a WPF application. In one window there is a combobox..and I want to hide the toggle button …

wpf xaml combobox visibility togglebutton
Better readability/contrast in a disabled JComboBox

I have a JComboBox that needs to be disabled at some point, but I am feeling that the disabled status …

java swing visibility jcombobox disabled-control
set visibility of specific tabs in JTabbedPane

How can I set some of the tabs in a JTabbedPane invisible? I tried using JTabbedPane#getTabComponentAt(index).setVisible(false);, …

java swing nullpointerexception visibility jtabbedpane