Hi
I need your opinion on this because I have read a lot of different things on the subject. If you have a List<T> or any kind of list within a class declaration do you make it private and then add or remove items using specific methods or do you make it public?
Your views would be much appreciated with any disadvantages/advantages of ...
Hi everybody,
I'm trying to make work a functionality that exists on my website but works bad on Safari for iPhone.
Well, I have a "li" element:
..
<li><input id='showOrHide' type='button' value='show or hide'/></li>
<li><input type='text' value='ok'/></li>
..
When I click on the 'show or hide' button, the text input should ...
I'm trying to set a button's event to change a grid's visibility using just XAML. I'm pretty sure I should be using an EventTrigger, but I couldn't get that to work so my most recent attempt is to create a DataTrigger that is bound to a field in the view-model:
<Style x:Key="PersonalInfoGridStyle" TargetType="{x:Type Grid}">
<Style....
Hello. I'd like to know if there's a test conditions using which one can check the visibility state(hidden or visible) of a tag.
I mean a test condition,which could be used with the if() statement.
thanks!
...
I have a Grid with 2 rows, where the second has Visibility.Collapsed by default.
I want it to change to Visibility.Visible on MouseEnter on the Grid and back on MouseLeave.
That's simple and done.
However, I would like the transition between Visible and Collapsed to not be instant but smooth.
I believe I can do this somehow with the Vi...
I'd like to know if there's anything incorrect in the following :
if($('#three').is(':visible')) {
alert("visible");
} else {
alert("hidden");
}
Thanks
...
Hi,
Is there a way to "hide" the SelectedItem of the DataGrid ?
dataGrid.SelectedItem.Visibility = Visibility.Hidden ???
Regards,
MadSeb
...
Hello,
Well, after a one hour introduction to javascript, I ve come up with the following code. It did what I wanted alright, but then I wanted something else and it wont work.
I wanted that upon clicking on a button, a certain field would hide and on clicking on another yes, another one would hide too, BUT, of course, it had to make t...
Hi,
I have data grid that measures the height according to the rows it has, but i need to disappear/ make invisible when i have no data, so the header will not just appear alone.
...
How to check if a scroll (vertical or horizontal) is currently shown in WPF DataGrid? HorizontalScrollBarVisibility and VerticalScrollBarVisibility are used to set the behaviour and they are set to Auto.
...
I want to define a set of constants in a class like:
class Foo(object):
(NONEXISTING,VAGUE,CONFIRMED) = (0,1,2)
def __init__(self):
self.status = VAGUE
However, I get
NameError: global name 'VAGUE' is not defined
Is there a way of defining these constants to be visiable inside the class without resorting to global or ...
First of all: A quite similar problem has been posted and somehow solved already, but is still not answering my specific problem. More about this later.
In words: I have a base class which provides some methods to all childs, but doesn't contain any property. My child is inheriting these methods, which should be used to access the child...
So im trying to animate when i set the visibility of a linearlayout with other widgets, from GONE to VISIBLE and the opposite.Im using togglebuttons to show and hide. Here's an image to show what i want to do:
view show/hide element
I can show and hide, but im not following how can i animate the sliding correctly....:(
Heres my xml:
...