UIContextualAction.FromContextualActionStyle Method
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.
Creates a new contextual action with the specified styel and title.
[Foundation.Export("contextualActionWithStyle:title:handler:")]
public static UIKit.UIContextualAction FromContextualActionStyle (UIKit.UIContextualActionStyle style, string title, UIKit.UIContextualActionHandler handler);
static member FromContextualActionStyle : UIKit.UIContextualActionStyle * string * UIKit.UIContextualActionHandler -> UIKit.UIContextualAction
Parameters
- style
- UIContextualActionStyle
The contextual action style.
- handler
- UIContextualActionHandler
The action to run when the user selects the action.
Returns
- Attributes