[wix-users] Check if checkbox is enabled/disabled

Ven H venh.123 at gmail.com
Tue Feb 13 08:02:10 PST 2018


I have a similar situation where I need to check whether a couple of check
boxes are enabled / disabled. So, @Pavan, can you please share how you
achieved this? If anyone else has any idea also, please help.

Regards,
Venkatesh

On Thu, Jan 25, 2018 at 2:09 AM, KONDURU Pavan via wix-users <
wix-users at lists.wixtoolset.org> wrote:

> Thanks Jon! That gave me an idea!
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Jon Earle via wix-users
> Sent: Tuesday, January 23, 2018 7:05 PM
> To: WiX Toolset Users Mailing List
> Cc: Jon Earle
> Subject: Re: [wix-users] Check if checkbox is enabled/disabled
>
> In your viewmodel:
>
>
> public bool FeatureEnabled { get; set; }
>
>
> In your view:
>
>
> <CheckBox Content="Text to show" IsEnabled="{Binding FeatureEnabled}" />
>
>
>
>
> ________________________________
> From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of
> Lewis Henderson via wix-users <wix-users at lists.wixtoolset.org>
> Sent: Tuesday, January 23, 2018 4:00 PM
> To: WiX Toolset Users Mailing List
> Cc: Lewis Henderson
> Subject: Re: [wix-users] Check if checkbox is enabled/disabled
>
> Hi Pavan,
>
> You can use a similar Condition element to enable or disable a CheckBox or
> PushButton.  If you need to know if the control is enabled or disabled,
> test the condition used to enable/disable it and Publish a DoAction event
> accordingly.  I hope this helps.
>
>                                 Lewis
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of KONDURU Pavan via wix-users
> Sent: Tuesday, January 23, 2018 3:29 PM
> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
> Cc: KONDURU Pavan <Pavan.KONDURU at 3ds.com>
> Subject: [EXTERNAL] - Re: [wix-users] Check if checkbox is enabled/disabled
>
> I am not trying to hide/show the controls. I am trying to do an action if
> a checkbox(or any control) is disabled( I do not need to know if it is
> checked or unchecked).
>
>
> -----Original Message-----
> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
> Of Nir Bar via wix-users
> Sent: Tuesday, January 23, 2018 12:48 AM
> To: WiX Toolset Users Mailing List
> Cc: Nir Bar
> Subject: Re: [wix-users] Check if checkbox is enabled/disabled
>
> Add Condition elements nested for the control you want to show or hide:
>
> <Condition Action="hide">HIDE_IF_SET</Condition>
> <Condition Action="show">Not HIDE_IF_SET</Condition>
>
>
>
>
> --Independent WiX Expert. Creator of-
> JetBA: WPF Bootstrapper User Interface Framework
>
> JetBA++: Native Qt Bootstrapper User Interface Framework
>
>
>
>
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.
> firegiant.com_&d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=
> yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=oR2OQCcHcdTnW-
> l4TedJpMFwI8s3tqsYYDIlejZdvRY&s=X5pPoFuXlEe0SJpn1Ypr9KTfWvWvh8
> 7MrVjRmcnqH7Q&e=
> This email and any attachments are intended solely for the use of the
> individual or entity to whom it is addressed and may be confidential and/or
> privileged.
>
> If you are not one of the named recipients or have received this email in
> error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this
> email and all attachments,
>
> (iii) Dassault Systemes does not accept or assume any liability or
> responsibility for any use of or reliance on this email.
>
> For other languages, go to https://urldefense.proofpoint.
> com/v2/url?u=http-3A__www.3ds.com_terms_email-2Ddisclaimer&
> d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=yAhF6NGJ7EPmZkvswZOswwnYxaueKk
> O53V282tTn1P4&m=oR2OQCcHcdTnW-l4TedJpMFwI8s3tqsYYDIlejZdvRY&s=QL0JYE7FPe3_
> qTXObirTiVPqQABsbBBCekavXxE9Ffw&e=
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.
> firegiant.com_&d=DwICAg&c=ZgVRmm3mf2P1-XDAyDsu4A&r=
> yAhF6NGJ7EPmZkvswZOswwnYxaueKkO53V282tTn1P4&m=oR2OQCcHcdTnW-
> l4TedJpMFwI8s3tqsYYDIlejZdvRY&s=X5pPoFuXlEe0SJpn1Ypr9KTfWvWvh8
> 7MrVjRmcnqH7Q&e=
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
> This email and any attachments are intended solely for the use of the
> individual or entity to whom it is addressed and may be confidential and/or
> privileged.
>
> If you are not one of the named recipients or have received this email in
> error,
>
> (i) you should not read, disclose, or copy it,
>
> (ii) please notify sender of your receipt by reply email and delete this
> email and all attachments,
>
> (iii) Dassault Systemes does not accept or assume any liability or
> responsibility for any use of or reliance on this email.
>
> For other languages, go to http://www.3ds.com/terms/email-disclaimer
>
> ____________________________________________________________________
> WiX Toolset Users Mailing List provided by FireGiant
> http://www.firegiant.com/
>


More information about the wix-users mailing list