AiForms.SettingsView icon indicating copy to clipboard operation
AiForms.SettingsView copied to clipboard

CheckboxCell - Checked status change action

Open matteopiccioni opened this issue 6 years ago • 5 comments

Hello, in CheckboxCell item, maybe can be useful to have the possibility to invoked an action when checkstatus change. For example to show or hide a section in the same page. For now I am using PropertyChanged in the two checkbox in my section to evaluate the Checked value...but is not working well...the PropertyChanged is called each time I modify the IsVisible binding value... Thanks

matteopiccioni avatar Jan 22 '18 14:01 matteopiccioni

@matteopiccioni Thank you for reporting a issue.

I didn't reproduce this issue. Will you tell me more specific? (platform, version, procedure etc..) I would appreciate it if you could write it with itemizing.

muak avatar Jan 29 '18 08:01 muak

Hello, this is not a bug, but a feature request. I think could be helpful to have a CheckboxCell that when change from checked to unchecked (and from unchecked to checked) trigger an action or command

matteopiccioni avatar Sep 02 '18 16:09 matteopiccioni

@matteopiccioni

Thank you, I see. I accept your request😄

muak avatar Sep 04 '18 03:09 muak

Thank you very much :)

matteopiccioni avatar Sep 04 '18 06:09 matteopiccioni

Hello. What is the likelihood that this feature will be added? This will be useful, for example, if you need to enable some function (for example, location or camera) while receiving permission. For example, when trying to enable a location, you can process the command and check if permission is granted, if so then execute Checked=True, otherwise execute Checked=False and ask the user for permission.

 <sv:CheckboxCell
      Title="Save location"
      Checked="{Binding IsLocationTurnedOn}"
      Command={Binding TurnOnLocationCommand} />  <!-- I would like to receive  -->

mksdevelop avatar Sep 21 '23 14:09 mksdevelop