Questions tagged [isenabled]

Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property.

Gets or sets a value indicating whether this element is enabled in the user interface (UI). This is a dependency property.

214 questions
57
votes
5 answers

C# WPF IsEnabled using multiple bindings?

I have a WPF xaml file describing a section of a GUI and I'd like the enabling/disabling of a particular control to be dependent on two others. The code looks something like this at the moment:
Jon Cage
  • 36,366
  • 38
  • 137
  • 215
20
votes
2 answers
14
votes
3 answers

iOS UIButton - Difference between UIButton setUserInteractionEnabled and setEnabled

Wait!!!:I know that you may think this question have been asked and answered several time before. But I can guarantee you that this question is unique. Question: In an iOS App, just imagine two buttons are there, like shown in the image bellow, and…
13
votes
3 answers

Hyperlinks are staying inactive after setting isEnabled=true to parent control

I've got a TabItem contanining a listbox, which has an obeservable collection of my feeds class as its item source. When I refresh/load the feeds into the collection I want to disable the main window so that the user can't go clicking other things…
Psytronic
  • 6,043
  • 5
  • 37
  • 56
10
votes
0 answers

Check if "Auto update" is enabled in Android system settings

Is it possible to programmatically check this? Settings -> About device -> Software Update -> Auto update (Check for updates automatically)
A.G.
  • 2,037
  • 4
  • 29
  • 40
9
votes
3 answers

multiple binding to IsEnable

I need to bind a TextBox that meets two criteria: IsEnabled if Text.Length > 0 IsEnabled if user.IsEnabled Where user.IsEnabled is pulled from a data source. I was wondering if anyone had a easy method for doing this. Here is the…
Keith Nelson
  • 93
  • 1
  • 1
  • 4
7
votes
2 answers

IsEnabled False If Binding.Source is not available

Have a button that I want disabled if a binding value is false or null. Here is was I tried.
7
votes
2 answers

WPF Bind Checkbox IsChecked to other Checkboxes (IsChecked || !IsEnabled)

I have a select 'All' checkbox that I would like to be bound to the (IsChecked || !IsEnabled) of other checkboxes. Checking 'All' checks all enabled checkboxes. Unchecking 'All' unchecks all checkboxes. Manually checking each enabled checkbox…
TrevDev
  • 1,106
  • 11
  • 24
7
votes
4 answers

Disabling UIButton not working

The solutions i'm finding on here use .enabled which is old, rather than .isEnabled. So i'm currenting trying to just disable the functionality/clickability of buttons if a certain condition is (or isn't) met. So before it all I disable them all if…
insta catering
  • 151
  • 2
  • 12
7
votes
1 answer

Button IsEnabled Trigger does not work

I have a Button and its Style: