public CustomToggleButton init()
        {
            leftSide.setMyThickness(-39, 0, 0, 0);
            rightSide.setMyThickness(0, 0, -39, 0);
            colorOn.setMyConverter("#82be7d");

            back_rectangle.Fill = colorOff.setMyConverter("#A0A0A0");
            toggled             = false;
            dot_ellipse.Margin  = leftSide.getMyThickness();
            return(this);
        }
 public CustomToggleButton setLocation(int _x, int _y)
 {
     marginToggleButton.setMyThickness(_x, _y, 0, 0);
     this.Margin = marginToggleButton.getMyThickness();
     return(this);
 }
 public BaseInputField setLocation(int _x, int _y)
 {
     myThickness.setMyThickness(_x, _y, 0, 0);
     this.Margin = myThickness.getMyThickness();
     return(this);
 }