Example #1
0
		private LegendItem RaiseResolveLegendItem(LegendItem uncustomizedLegendItem) {
			if (ResolveLegendItem != null) {
				ResolveLegendItemEventArgs e = new ResolveLegendItemEventArgs(uncustomizedLegendItem);
				ResolveLegendItem(this, e);
				return e.LegendItem;
			}
			else {
				return uncustomizedLegendItem;
			}
		}
Example #2
0
 private LegendItem RaiseResolveLegendItem(LegendItem uncustomizedLegendItem)
 {
     if (ResolveLegendItem != null)
     {
         ResolveLegendItemEventArgs e = new ResolveLegendItemEventArgs(uncustomizedLegendItem);
         ResolveLegendItem(this, e);
         return(e.LegendItem);
     }
     else
     {
         return(uncustomizedLegendItem);
     }
 }