System.Windows.Forms.ComboBox.OnLostFocus C# (CSharp) Method

OnLostFocus() private method

private OnLostFocus ( EventArgs e ) : void
e System.EventArgs
return void
		protected override void OnLostFocus (EventArgs e)
		{
			if (dropdown_style == ComboBoxStyle.DropDownList)
			{
				// We draw DDL styles manually, so they require a
				// refresh to have their selection drawn
				Invalidate ();
			}
			
			if (listbox_ctrl != null && dropped_down)
			{
				//TODO:
				//listbox_ctrl.HideWindow ();
			}
			
			if (textbox_ctrl != null)
			{
				textbox_ctrl.Selectable = true;
				textbox_ctrl.SelectionLength = 0;
				//TODO:
				//textbox_ctrl.HideAutoCompleteList ();
			}
			
			base.OnLostFocus (e);
		}