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

            CircularProgressStyle progressStyle = bindableObject as CircularProgressStyle;

            if (null != progressStyle)
            {
                isEnabled     = progressStyle.isEnabled;
                thickness     = progressStyle.Thickness;
                maxValue      = progressStyle.maxValue;
                minValue      = progressStyle.minValue;
                currentValue  = progressStyle.currentValue;
                trackColor    = progressStyle.trackColor;
                progressColor = progressStyle.progressColor;
            }
        }
示例#3
0
 public CircularProgress(CircularProgressStyle progressStyle) : base(progressStyle)
 {
     Initialize();
 }
示例#4
0
 public CircularProgressStyle(CircularProgressStyle style) : base(style)
 {
 }