Questions tagged [ischecked]
78 questions
1
vote
1 answer
MenuItem IsChecked Property NOT Binding to VM Property
Hello I am a new WPF/MVVM programmer and having trouble with a MenuItem.
I have a menu who's ItemsSourced are binded to an object I created;
1
vote
3 answers
Kotlin Condition is always true if val used
If I used a variable to check for boolean, the "!isNumber" is highlighted with the warning "Condition '!isNumber' is always true":
val isNumber = bind.number.isChecked
when (array) {
"A" -> {
if (isNumber) {
…

Kellin Strook
- 487
- 1
- 5
- 18
1
vote
1 answer
Android: Showing a toast message when the checkbox is checked for the dynamically created checkboxes
When an ImageButton is clicked a checkBox is created dynamically in my app.
The problem I'm facing is with toast messages not showing or let's say the listener I am using for the checkboxes to show a toast message when the checkbox is checked is…

mockingbird
- 53
- 6
1
vote
1 answer
C# MVVM Toggle button IsChecked binding
My MVVM code requires hooking up a WPF Toggle button to a ViewModel.
The requirement is that when the Toggle button is 'Clicked' it executes the bound command changing the IsConnected property (bool). This property should define the visual state of…

Mandeep Singh
- 91
- 1
- 12
1
vote
1 answer
Cannot Resolve symbol 'isChecked()'
I am trying to check whether the radio button is checked or not. On basis of that, I will trigger some actions. I searched and found out "isChecked" is the method to do so. I use that method but the android studio says Cannot Resolve symbol…

Jaykumar
- 137
- 2
- 12
1
vote
1 answer
UWP Setting RadioButton.IsChecked in codebehind results in strange/unexpected behavior
I have different ViewModels in my FlipView.ItemsSource. This ViewModels containing a rootgrid, which holds some Stackpanels with information and some of the StackPanels containing radiobuttons.
jfyi:
My Design Pattern is mvvm and my FlipView has a…

SeriousBusinessGuy
- 103
- 9
1
vote
3 answers
Where check if CheckBox that is added dynamically is checked? (Android)
I have added checkboxes dynamically in my onCreate() method. When one or more of them are checked I want two buttons to be displayed. I am new to working with Android, but from what I can tell it won't work to do this check (see if checkboxes are…

Ingrid
- 516
- 6
- 18
1
vote
1 answer
How do I implement isChecked in Protractor
I'm new to protractor and I need to know how to write a protractor script to check whether a check box is checked or not. I searched every where to find is there anything called isChecked and I couldn't find.
Please help.
Thanks. :)
user6299189
1
vote
3 answers
How to set all RadioButton IsChecked properties to false
I have 4 RadioButtons in a UniformGrid.
Initially they are all set to false.
But once I click one of them, one stays true at all times.
Our requirement is that they all can be set to false.
I tried things like
…

DeMama
- 1,134
- 3
- 13
- 32
1
vote
2 answers
wpf xaml checkbox template in style
first post so please go easy.
I am trying to get the value of a checkbox from another page (this is part of a navigation form in WPF project), but it always resets the value to false as soon as the page is changed. How do I get the IsChecked value…

Cadogi
- 208
- 1
- 3
- 16
1
vote
1 answer
1
vote
2 answers
Smartgwt: How to get checkbox value on a listgrid?
I've a listener on cellClick, I get the selected Record but I can't find a way to understand if this record is checked
Method ListGrid.isSelected(ListGridRecord) returns true if row is selected, not if is checked
My…

Zoiderberg
- 21
- 1
- 5
1
vote
2 answers
Android: If statement based on checkbox not being checked
I think this is really easy but I am fairly new to android development so thanks in advance
If the first one is checked I generate a random number for text Item 1. If both the checkboxs are checked I generate text for the second text. I was…

user2736219
- 33
- 1
- 7
1
vote
3 answers
wpf user control RadioButton preselection
I got a very simple user control (visifire charts + datepickers and some radiobuttons to control filtering etc):

J K G
- 78
- 8
1
vote
0 answers
Android: Set a checkbox to "checked" from a different fragment
is there any way to set a checkbox to "checked" from a different fragment?
I'll try to explain better; My app got different fragments, and, in every fragment there are some checkbox. I just made on the first fragment a button that re-create some of…

iGio90
- 290
- 1
- 4
- 15