How can I bind a DataSource with some selected enum values?
My Enum:
public enum Filters : byte
{
Filter1 = 1,
Filter2 = 2,
Filter3 = 4,
Filter4 = 8,
Filter5 = 16
}
Selected values:
public Filters SelectedFilters = Filters.Filter1 | Filters.Filter4;
How can I bind the SelectedFilters variable as a datasource?