UIPreviewInteraction.ShouldBegin 属性

定义

由 对象调用以获取值的委托。

public Func<UIKit.UIPreviewInteraction,bool> ShouldBegin { get; set; }
member this.ShouldBegin : Func<UIKit.UIPreviewInteraction, bool> with get, set

属性值

注解

开发人员将函数、委托或匿名方法分配给此属性,以向对象返回值。 如果开发人员为此属性赋值,则会将 Delegate 属性的值重置为将委托映射到事件的内部处理程序。

适用于