Property* Base::GetProperty( const gwen::String & name ) { for ( ControlFactory::Property::List::const_iterator it = Properties().begin(), itEnd = Properties().end(); it != itEnd; ++it ) { if ( ( *it )->Name() != name ) { continue; } return *it; } Base* pBase = GetBaseFactory(); if ( !pBase ) { return NULL; } return pBase->GetProperty( name ); }