Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

ShouldChangeCharacters not working as expected

$
0
0

It is my understanding that if ShouldChangeCharacters returns false, the character typed is omitted. Well, I'm using the following test:

textFieldEmail.ShouldChangeCharacters = (textField, range, replacement) => { return false; };

and the keys are being typed in. Here's my Version information:

Xamarin Studio Version 4.2.2 (build 2) Installation UUID: 260f2c8d-92ee-4453-b830-bc9dd527db59 Runtime: Mono 3.2.5 ((no/964e8f0) GTK+ 2.24.20 theme: Raleigh GTK# (2.12.0.0) Package version: 302050000

Apple Developer Tools Xcode 5.0.2 (3335.32) Build 5A3005

Xamarin.iOS Version: 7.0.4.209 (Business Edition) Hash: 23a0827 Branch: Build date: 2013-11-11 16:04:00-0500

Xamarin.Mac Xamarin.Mac: Not Installed

Xamarin.Android Version: 4.10.1 (Business Edition) Android SDK: /Users/jstawski/Library/Developer/Xamarin/android-sdk-mac_x86 Supported Android versions: 2.1 (API level 7) 2.2 (API level 8) 2.3 (API level 10) 3.1 (API level 12) 3.2 (API level 13) 4.0 (API level 14) 4.0.3 (API level 15) 4.1 (API level 16) 4.2 (API level 17) Java SDK: /usr No Java runtime present, requesting install.

Build Information Release ID: 402020002 Git revision: c5f82958ae7d9af652b44b87ceff777b3ad19b91 Build date: 2013-11-19 15:35:40+0000 Xamarin addins: a4044fee09138f6fd031a9944b7caaeb51e57e80

Operating System Mac OS X 10.9.1 Darwin jonass-imac 13.0.0 Darwin Kernel Version 13.0.0 Thu Sep 19 22:22:27 PDT 2013 root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64

Is this a bug?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>