当前位置: 动力学知识库 > 问答 > 编程问答 >

Handling escape key in c# propertyGrid

问题描述:

i'm using a property grid in winform (c#). once the user enters some values in a property and pressing Esc key will clear the value. i just want to prevent Esc clearing the value(pressing Esc key should do nothing). i tried the PreviewKeyDown but didn't get a clue.

any idea?

分享给朋友:
您可能感兴趣的文章:
随机阅读: