MonoTouch.Dialog.BooleanElementCell.prepareCell C# (CSharp) Méthode

prepareCell() private méthode

private prepareCell ( ) : void
Résultat void
		private void prepareCell(){
			_switch = new UISwitch (){
				BackgroundColor = UIColor.Clear
			};
			_switch.AddTarget (delegate {
				_element.Value = _switch.On;
			}, UIControlEvent.ValueChanged);
			
			AccessoryView = _switch;
		}