//add custom checkbox and initialize it with the right value
 public void setData()
 {
     lblEigenschapName.Text = Eigenschap.name;
     _checkBox = new BemCheckBox (new CoreGraphics.CGRect (0, 0, 20, 20), new MyBemCheckBoxDelegate(this));
     vwCheckBoxHolder.Add (_checkBox);
     _checkBox.SetOn (Eigenschap.selected,false);
 }
 public void setData(bool check)
 {
     lblProfile.Text = Profiel.name;
     if (check) {
         _checkBox = new BemCheckBox (new CoreGraphics.CGRect (0, 0, 20, 20), new MyBemCheckBoxDelegate(this));
         vwCheckbox.Add (_checkBox);
     }
 }
        public void setData(bool check)
        {
            lblTotemName.Text = Totem.title;

            if (check) {
                _checkBox = new BemCheckBox (new CoreGraphics.CGRect (0, 0, 20, 20), new MyBemCheckBoxDelegate(this));
                vwCheckbox.Add (_checkBox);
            }
        }
Exemple #4
0
 public MyCaAnimationDelegate(BemCheckBox bemCheckBox)
 {
     _bemCheckBox = bemCheckBox;
 }
Exemple #5
0
 /* Sent to the delegate every time the check box gets tapped.
  		 * @discussion This method gets triggered after the properties are updated (on), but before the animations, if any, are completed.
   		 * @seealso animationDidStopForCheckBox:
  		 * @param checkBox: The BEMCheckBox instance that has been tapped.
  		 */
 public void DidTapCheckBox(BemCheckBox checkBox)
 {
 }
Exemple #6
0
 /* Sent to the delegate every time the check box finishes being animated.
  * @discussion This method gets triggered after the properties are updated (on), and after the animations are completed. It won't be triggered if no animations are started.
  * @seealso didTapCheckBox:
  * @param checkBox: The BEMCheckBox instance that was animated.
  */
 public void AnimationDidStopForCheckBox(BemCheckBox checkBox)
 {
 }
Exemple #7
0
 /* Sent to the delegate every time the check box finishes being animated.
  * @discussion This method gets triggered after the properties are updated (on), and after the animations are completed. It won't be triggered if no animations are started.
  * @seealso didTapCheckBox:
  * @param checkBox: The BEMCheckBox instance that was animated.
  */
 public void AnimationDidStopForCheckBox(BemCheckBox checkBox)
 {
 }
Exemple #8
0
 /* Sent to the delegate every time the check box gets tapped.
  * @discussion This method gets triggered after the properties are updated (on), but before the animations, if any, are completed.
  * @seealso animationDidStopForCheckBox:
  * @param checkBox: The BEMCheckBox instance that has been tapped.
  */
 public void DidTapCheckBox(BemCheckBox checkBox)
 {
 }