public InfoItemControl(AreaItemWrapper wrapper) : base() { if (wrapper == null) { throw new ArgumentNullException("wrapper"); } Wrapper = wrapper; Caption = wrapper.Caption; UseDragDrop = true; }
public InfoItemControl(AreaItemWrapper wrapper, BitmapImage icon) : this(wrapper) { Icon = icon; }