Skip to content

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

Open
j-reason wants to merge 1 commit into
dbrizov:masterfrom
j-reason:NotOperator
Open

Add Not Operator '!' support to EnableIf, DisableIf, ShowIf & HideIf#248
j-reason wants to merge 1 commit into
dbrizov:masterfrom
j-reason:NotOperator

Conversation

@j-reason

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

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

j-reason commented Jul 19, 2021

Copy link
Copy Markdown
Author

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