protected override void Render(Drawable window, Widget widget, Rectangle backgroundArea,
                                       Rectangle cellArea, Rectangle exposeArea, CellRendererState flags)
        {
            CellState state = (CellState)flags;

            using (IContext context = new CairoContext(window)) {
                Area bkg = new Area(new Point(backgroundArea.X, backgroundArea.Y),
                                    backgroundArea.Width, backgroundArea.Height);
                Area cell = new Area(new Point(cellArea.X, cellArea.Y),
                                     cellArea.Width, cellArea.Height);
                PlayslistCellRenderer.Render(Item, Project, Count, IsExpanded, App.Current.DrawingToolkit,
                                             context, bkg, cell, state);
            }
        }
 /// <summary>
 /// Clickeds the play button, just a proxy to the PlayslistCellRenderer
 /// </summary>
 /// <returns><c>true</c>, if play button was clickeded, <c>false</c> otherwise.</returns>
 /// <param name="cellX">Cell x.</param>
 /// <param name="cellY">Cell y.</param>
 /// <param name="width">Width.</param>
 public static bool ClickedPlayButton(double cellX, double cellY, int width)
 {
     return(PlayslistCellRenderer.ClickedPlayButton(cellX, cellY, width));
 }
 /// <summary>
 /// Shoulds the redraw, just a proxy to the PlayslistCellRenderer
 /// </summary>
 /// <returns>The redraw.</returns>
 /// <param name="cellX">Cell x.</param>
 /// <param name="cellY">Cell y.</param>
 /// <param name="TotalY">Total y.</param>
 /// <param name="width">Width.</param>
 /// <param name="viewModel">View model.</param>
 public static Area ShouldRedraw(double cellX, double cellY, double TotalY, int width, IViewModel viewModel)
 {
     return(PlayslistCellRenderer.ShouldRedraw(cellX, cellY, TotalY, width, viewModel));
 }