Contents tagged with PXUIVisible
today I want to leave a short notice on how to use PXUIVisible attribute. I already mentioned that attribute in this article but today just want to give one more example of it's usage.
Take a look on the following code:
[PXUIField(DisplayName = "Shipment display")]
[PXUIVisible(typeof(Where<Terms.visibleTo, Equal<TermsVisibleTo.all>, Or<Terms.visibleTo, Equal<TermsVisibleTo.customer>>>))]
protected void Terms_UsrShipmentDisplay_CacheAttached(PXCache sender)
As you can see from the example, PXUIvisible expectes from you to get some kind of where condition. Another important detail is that control, from which visibility depends should have … more