Hi Juraj Ondrus ,
public const string LabID = "1;abc\r\n2;ab\r\n3;bv ..... etc";
[BindableProperty] [EditingComponent(DropDownComponent.IDENTIFIER, Order = 1, Label = "LabID")] [EditingComponentProperty(nameof(DropDownProperties.DataSource), LabID)]
The above is the property being set for widget properties, so what I want to achieve here is that I have a widget and I am adding some property fields for the widget. One of the field is dropdown, now the data for that dropdown is being set as shown above.
But I want to set its data using a List, instead of a string?