public CheckComboBoxPropertyEditor(ItemsSourceAttribute attribute)
        {
            var sourceType  = attribute.Type;
            var sourceItems = Activator.CreateInstance(sourceType) as IItemsSource;

            _itemsSource = sourceItems;

            HorizontalAlignment = HorizontalAlignment.Stretch;
        }
Пример #2
0
 public ItemsSourceAttributeEditor(ItemsSourceAttribute attribute)
 {
     _attribute = attribute;
 }