UIAlertViewPredicate Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A delegate for use with ShouldEnableFirstOtherButton.
public delegate bool UIAlertViewPredicate(UIAlertView alertView);
type UIAlertViewPredicate = delegate of UIAlertView -> bool
Parameters
- alertView
- UIAlertView
The UIAlertView with which this delegate is associated.
Return Value
true
if the first non-cancel button in the alert should be enabled.
Remarks
The application developer can use this delegate to programmatically decide if the first button that is not at the "cancel button" index (see CancelButtonIndex) should be enabled.