private void OnSwSelectTypesChanged(List <swSelectType_e> oldValue, List <swSelectType_e> newValue) { if (oldValue != newValue && SControl != null) { if (SldControlVisibility) { throw new InvalidOperationException($"{nameof(PropertyManagerPageSelectionbox)}.{nameof(PropertyManagerPageSelectionbox.SetSelectionFilters)} Cannot be Set after Displayed"); } SControl.SetSelectionFilters(newValue.ToArray()); } }