public DoubleColumnRenderer()
 {
     column_controller = new ColumnController ();
     artist_name_column = new Column ("Artist", new ColumnCellText ("DisplayName", true), 0.65);
     image_column_cell = new ArtistColumnCell () { RenderNameWhenNoImage = false };
     image_column = new Column ("Artist Image", image_column_cell, 0.35);
     column_controller.Add (artist_name_column);
     column_controller.Add (image_column);
 }
Beispiel #2
0
 public SingleColumnRenderer()
 {
     column_controller = new ColumnController();
     image_column_cell = new ArtistColumnCell {
         RenderNameWhenNoImage = true
     };
     image_column = new Column("Artist Image", image_column_cell, 1.0);
     column_controller.Add(image_column);
 }
Beispiel #3
0
 public DoubleColumnRenderer()
 {
     column_controller  = new ColumnController();
     artist_name_column = new Column("Artist", new ColumnCellText("DisplayName", true), 0.65);
     image_column_cell  = new ArtistColumnCell()
     {
         RenderNameWhenNoImage = false
     };
     image_column = new Column("Artist Image", image_column_cell, 0.35);
     column_controller.Add(artist_name_column);
     column_controller.Add(image_column);
 }