I wanted to add an event for a textbox to handle when it loses focus. I was sure I remembered some sort of LostFocus event, but I didn’t see it in the Properties grid. But sure enough, the event exists if I access it programmatically. I’m using VS2008 – any reason why this event (and maybe others?) wasn’t shown in the Properties grid?
I wanted to add an event for a textbox to handle when it loses
Share
Control.LostFocusis marked with[BrowsableAttribute(false)]. This means it will not be shown in the Properties window. For details seeBrowsableAttribute.Here’s the declaration: