Developer forum

Forum » Rapido » GetEnumSetting does not exist in the current context

GetEnumSetting does not exist in the current context

Kim Søjborg Pedersen
Reply

Hi

The GetEnumSetting is used in the new /components documentation, but when I try to use it on a BlockPage, I get the does not exist in the current context. Where is it and how do I use it?

  
new Button { Id = "MyButton", ButtonLayout = GetEnumSetting(ButtonLayout.Primary), Title = Translate("Read more"), Icon = new Icon { Prefix = "fas", Name = "fa-plus", LabelPosition = IconLabelPosition.After }, OnClick = "document.getElementById('MyButtonModalTrigger').checked = false" }

Best regards
Kim

 

 

 


Replies

 

You must be logged in to post in the forum