public ExampleCollectionItemCell(RectangleF frame) : base(frame) { _label = new UILabel(); _imageView = new UIImageView(UIImage.FromFile("person.jpg")); _label.SetStyleClass("sample-cell-label"); _imageView.SetStyleClass("sample-cell-image"); ContentView.AddSubview(_imageView); ContentView.AddSubview(_label); }