public CustomLabel this[string name] { get { for (int i = 0; i < Count; i++) { Microsoft.ReportingServices.ReportIntermediateFormat.CustomLabel customLabel = m_gaugeScale.GaugeScaleDef.CustomLabels[i]; if (string.CompareOrdinal(name, customLabel.Name) == 0) { return(base[i]); } } throw new RenderingObjectModelException(ProcessingErrorCode.rsNotInCollection, name); } }
internal CustomLabel(Microsoft.ReportingServices.ReportIntermediateFormat.CustomLabel defObject, GaugePanel gaugePanel) { m_defObject = defObject; m_gaugePanel = gaugePanel; }