コード例 #1
0
        /// <summary>
        /// Set the face color from the range
        /// </summary>
        protected override void UpdateFaceColor()
        {
            var c = FaceColorRange.GetColor(Value);

            if (c != null)
            {
                _colourRangeStart.Color = c.HiColor;
                _colourRangeEnd.Color   = c.LowColor;
            }
        }
コード例 #2
0
ファイル: Dial180.cs プロジェクト: dillishrestha/Dashboarding
        protected override void UpdateFaceColor()
        {
            ColorPoint c = FaceColorRange.GetColor(Value);

            if (c != null)
            {
                this.faceLowColorGradientStop.Color  = c.LowColor;
                this.faceHighColorGradientStop.Color = c.HiColor;
            }
        }
コード例 #3
0
        /// <summary>
        /// Set the face color from the range
        /// </summary>
        protected override void UpdateFaceColor()
        {
            ColorPoint c = FaceColorRange.GetColor(Value);

            if (c != null)
            {
                this._colourRangeStart.Color = c.HiColor;
                this._colourRangeEnd.Color   = c.LowColor;
            }
        }