Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Not Operator '!' support to EnableIf, DisableIf, ShowIf & HideIf #248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

j-reason
Copy link

  • Change PropertyUtility.cs so Conditions support the Not Operator ('!')
  • Update Tests

- Change PropertyUtility.cs so Conditions support the Not Operator ('!')
 - Update Tests
@j-reason
Copy link
Author

j-reason commented Jul 19, 2021

This lets you add a '!' to a condition to any of the 'If' attributes.
-For example: [ShowIf("!AlwaysTrue")]

This allows for variations which aren't currently possible when combined with EConditionOperator.And or EConditionOperator.Or

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants