public CircularSliderStyle(CircularSliderStyle style) : base(style)
 {
     if (null == style)
     {
         return;
     }
     this.CopyFrom(style);
 }
        public override void CopyFrom(BindableObject bindableObject)
        {
            base.CopyFrom(bindableObject);

            CircularSliderStyle progressStyle = bindableObject as CircularSliderStyle;

            if (null != progressStyle)
            {
                isEnabled     = progressStyle.isEnabled;
                thickness     = progressStyle.Thickness;
                maxValue      = progressStyle.maxValue;
                minValue      = progressStyle.minValue;
                currentValue  = progressStyle.currentValue;
                trackColor    = progressStyle.trackColor;
                progressColor = progressStyle.progressColor;
                thumbSize     = progressStyle.thumbSize;
                thumbColor    = progressStyle.thumbColor;
            }
        }
Exemple #3
0
 public CircularSliderStyle(CircularSliderStyle style) : base(style)
 {
 }
Exemple #4
0
 public CircularSlider(CircularSliderStyle progressStyle) : base(progressStyle)
 {
     Initialize();
 }