public CheckComboBoxPropertyEditor(ItemsSourceAttribute attribute) { var sourceType = attribute.Type; var sourceItems = Activator.CreateInstance(sourceType) as IItemsSource; _itemsSource = sourceItems; HorizontalAlignment = HorizontalAlignment.Stretch; }
public ItemsSourceAttributeEditor(ItemsSourceAttribute attribute) { _attribute = attribute; }