// protected BxElementBase() { _carrier = null; _container = null; _config = null; } public BxElementBase(IBxElement container, IBxElementCarrier carrier) { _container = container; _carrier = carrier; if (_carrier != null) { _idInCarrier = _carrier.ManageElement(this); } _config = null; }
BxUIConfigItemEx GetUIConfigItemEx() { if (_config == null) { if (_staticItem != null) { _config = new BxUIConfigItemEx(_staticItem); } else { if ((_xmlFileID != null) && (_configItemID != null)) { BxXmlUIItem item = new BxXmlUIItem(_configItemID.Value, _xmlFileID, _carrier.UIConfigProvider); _config = new BxUIConfigItemEx(item); } } } return(_config); }