예제 #1
0
 internal void InitializeInternal(InitializationContext context)
 {
     base.Initialize(context);
     if (m_distanceFromScale != null)
     {
         m_distanceFromScale.Initialize("DistanceFromScale", context);
         context.ExprHostBuilder.TickMarkStyleDistanceFromScale(m_distanceFromScale);
     }
     if (m_placement != null)
     {
         m_placement.Initialize("Placement", context);
         context.ExprHostBuilder.TickMarkStylePlacement(m_placement);
     }
     if (m_enableGradient != null)
     {
         m_enableGradient.Initialize("EnableGradient", context);
         context.ExprHostBuilder.TickMarkStyleEnableGradient(m_enableGradient);
     }
     if (m_gradientDensity != null)
     {
         m_gradientDensity.Initialize("GradientDensity", context);
         context.ExprHostBuilder.TickMarkStyleGradientDensity(m_gradientDensity);
     }
     if (m_tickMarkImage != null)
     {
         m_tickMarkImage.Initialize(context);
     }
     if (m_length != null)
     {
         m_length.Initialize("Length", context);
         context.ExprHostBuilder.TickMarkStyleLength(m_length);
     }
     if (m_width != null)
     {
         m_width.Initialize("Width", context);
         context.ExprHostBuilder.TickMarkStyleWidth(m_width);
     }
     if (m_shape != null)
     {
         m_shape.Initialize("Shape", context);
         context.ExprHostBuilder.TickMarkStyleShape(m_shape);
     }
     if (m_hidden != null)
     {
         m_hidden.Initialize("Hidden", context);
         context.ExprHostBuilder.TickMarkStyleHidden(m_hidden);
     }
 }
예제 #2
0
 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);
     }
 }
예제 #3
0
 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);
     }
 }