예제 #1
0
 protected override void OnDrawItem(DrawItemEventArgs e)
 {
     if (this.Items.Count > 0)
     {
         exListBoxItem item = (exListBoxItem)this.Items[e.Index];
         item.drawItem(e, this.Margin, _titleFont, _detailsFont, _fmt, this._imageSize);
     }
 }
예제 #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, _priceFont, _fmt, this._imageSize);
     }
 }