can someone please provide an example on how to use PropertyCheckBoxList in a Dynamic Content?
I'm trying something like:
[DynamicContentPlugIn]
public class MyDynamicContent : IDynamicContent
{
public MyDynamicContent()
{
PropertyCheckBoxList propertyOptions = new PropertyCheckBoxList();
MultipleOptionsListSettings settings = new MultipleOptionsListSettings();
settings.ListOptions = new Dictionary<string, string>
{
{ "key1", "value1" },
{ "key2", "value2" }
};
// how to connect propertyOptions and settings???
}
}
using ILSpy I saw that this MultipleOptionsListSettings is where the UI control gets the values from, so somehow I should be able to connect my property with the setings...
I encountered also classes with majestic names such as PropertySettingsRepository, PropertySettingsContainer and PropertySettingsWrapper. I got a bit disappointed I didn't find a PropertySettingsRepositoryContainerFactoryWrapper but maybe I didn't search long enough. They probably are needed but I can't find any documentation on how to use them.
Hi,
can someone please provide an example on how to use PropertyCheckBoxList in a Dynamic Content?
I'm trying something like:
using ILSpy I saw that this MultipleOptionsListSettings is where the UI control gets the values from, so somehow I should be able to connect my property with the setings...
I encountered also classes with majestic names such as PropertySettingsRepository, PropertySettingsContainer and PropertySettingsWrapper. I got a bit disappointed I didn't find a PropertySettingsRepositoryContainerFactoryWrapper but maybe I didn't search long enough. They probably are needed but I can't find any documentation on how to use them.
Any help will be greatly appreciated!