System.Windows.Forms.ComboBoxHelper.KeyUp C# (CSharp) Method

KeyUp() public method

public KeyUp ( NSEvent theEvent ) : void
theEvent NSEvent
return void
		public override void KeyUp (NSEvent theEvent)
		{
			if(maxLength > -1 &&  this.StringValue.Length > maxLength)
				this.StringValue = this.StringValue.Substring(0,maxLength);
			base.KeyUp (theEvent);
		}