Hy,
I can’t find the IsEnabled-Property in component behaviours?
Has someone a good advice to deactivate this by .Net-Code?
Thx & Regards
Hy,
I can’t find the IsEnabled-Property in component behaviours?
Has someone a good advice to deactivate this by .Net-Code?
Thx & Regards
IProductCreator is IPropertyContainer, so get the “IsEnabled” IProperty from there.
Hy @TSy,
I’m not able to do it on this way!
The cast to IPropertyContainer is successfull but there isn’t any property “IsEnabled”…
Thx & Regards
OK I checked and the IsEnabled
is a property only in the “single feed mode”, not the product creator itself.
So you need to get IProductCreatorSingleMode
object (which is also a IPropertyContainer
) from IProductCreator.SingleFeed
and then the IsEnabled
property from there using GetProperty(...)