Apply XafariViewLayoutStrategy to entire assembly

StatusIDPriorityType
Closed24834MinorQuestion
ProfileReply
rkpittClient

Hello,
This probably has a very simple answer...
In you documentation you say that the XafariViewLayoutStrategy can be applied to the entire assembly. I'd like to do this so that I don't have to declare the attribute in every class. Can you tell me how to do this?
Thanks in advance.

Replies

UserDescriptionPosted On
Vitali YazvinskiAgent

Hello!
Thank you for your ticket.

Answer to your question depends on what version Xafari do you use. It's connected with name of this attribute. It is "SmartDesignStrategy" in new Xafari versions. Sorry for that issue in our documentation, we are going to solve it.
So, you should check is there SmartDesignStrategy attribute in your version Xafari or use XafariViewLayoutStrategy instead and apply it in AssemblyInfo.cs on the following manner:

[assembly: SmartDesignStrategy(typeof(XafariSmartDesignStrategy))]

Best regards,
Vitali.

rkpitt

Hello Vitali,
I am using the latest version. Thanks for this.
Cheers!
Richard

× This ticket is closed.

Write US