Ejemplo n.º 1
0
 protected override void OnDrawItem(DrawItemEventArgs e)
 {
     if (base.Items.Count > 0)
     {
         exListBoxItem exListBoxItem = (exListBoxItem)base.Items[e.Index];
         exListBoxItem.drawItem(e, base.Margin, this._titleFont, this._detailsFont, this._levelFont, this._fmt, this._imageSize);
     }
 }
Ejemplo n.º 2
0
 protected override void OnDrawItem(DrawItemEventArgs e)
 {
     // prevent from error Visual Designer
     if (this.Items.Count > 0)
     {
         exListBoxItem item = (exListBoxItem)this.Items[e.Index];
         item.drawItem(e, this.Margin, _titleFont, _detailsFont, _levelFont, _fmt, this._imageSize);
     }
 }