Greetings,

Any one knows if there is a way to get values for a Key Path defined on
Interface Builder? I put there some value, like "MaxLength" and a value,
like 20.
So I tried to get this with the above code that compiles but gives a runtime
error System.Reflection.TargetInvocationException:

var NSKeyValue = this.ValueForKeyPath(new NSString("MaxLength"));


And then convert it to string or whatever needed.
If something like this is possible, it will handle custom controls
parameters from Interface Builder until we can do IBPlugins from MonoTouch.

Really thanks,

Karl


_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to