contentView and selectedContentView are private properties