Property CancelButtonIndex CancelButtonIndex Gets the index of the button that should be clicked when the user presses the Escape key. Declaration public int CancelButtonIndex { get; } Property Value Type Description int