internal override void Initialize(InitializationContext context) { base.Initialize(context); if (m_backFrame != null) { m_backFrame.Initialize(context); } if (m_clipContent != null) { m_clipContent.Initialize("ClipContent", context); context.ExprHostBuilder.GaugeClipContent(m_clipContent); } if (m_topImage != null) { m_topImage.Initialize(context); } if (m_aspectRatio != null) { m_aspectRatio.Initialize("AspectRatio", context); context.ExprHostBuilder.GaugeAspectRatio(m_aspectRatio); } }
protected override void InitializeCorner(InitializationContext context) { if (GaugeRow != null) { GaugeRow.Initialize(context); } if (m_linearGauges != null) { for (int i = 0; i < m_linearGauges.Count; i++) { m_linearGauges[i].Initialize(context); } } if (m_radialGauges != null) { for (int j = 0; j < m_radialGauges.Count; j++) { m_radialGauges[j].Initialize(context); } } if (m_numericIndicators != null) { for (int k = 0; k < m_numericIndicators.Count; k++) { m_numericIndicators[k].Initialize(context); } } if (m_stateIndicators != null) { for (int l = 0; l < m_stateIndicators.Count; l++) { m_stateIndicators[l].Initialize(context); } } if (m_gaugeImages != null) { for (int m = 0; m < m_gaugeImages.Count; m++) { m_gaugeImages[m].Initialize(context); } } if (m_gaugeLabels != null) { for (int n = 0; n < m_gaugeLabels.Count; n++) { m_gaugeLabels[n].Initialize(context); } } if (m_antiAliasing != null) { m_antiAliasing.Initialize("AntiAliasing", context); context.ExprHostBuilder.GaugePanelAntiAliasing(m_antiAliasing); } if (m_autoLayout != null) { m_autoLayout.Initialize("AutoLayout", context); context.ExprHostBuilder.GaugePanelAutoLayout(m_autoLayout); } if (m_backFrame != null) { m_backFrame.Initialize(context); } if (m_shadowIntensity != null) { m_shadowIntensity.Initialize("ShadowIntensity", context); context.ExprHostBuilder.GaugePanelShadowIntensity(m_shadowIntensity); } if (m_textAntiAliasingQuality != null) { m_textAntiAliasingQuality.Initialize("TextAntiAliasingQuality", context); context.ExprHostBuilder.GaugePanelTextAntiAliasingQuality(m_textAntiAliasingQuality); } if (m_topImage != null) { m_topImage.Initialize(context); } }