Exemplo n.º 1
0
 public CircularSliderStyle(CircularSliderStyle style) : base(style)
 {
     if (null == style)
     {
         return;
     }
     this.CopyFrom(style);
 }
Exemplo n.º 2
0
        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;
            }
        }
Exemplo n.º 3
0
 public CircularSliderStyle(CircularSliderStyle style) : base(style)
 {
 }
Exemplo n.º 4
0
 public CircularSlider(CircularSliderStyle progressStyle) : base(progressStyle)
 {
     Initialize();
 }