UITableViewCell.SelectedBackgroundView 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
选择单元格时用作单元格背景的视图。
public virtual UIKit.UIView SelectedBackgroundView { [Foundation.Export("selectedBackgroundView", ObjCRuntime.ArgumentSemantic.Strong)] get; [Foundation.Export("setSelectedBackgroundView:", ObjCRuntime.ArgumentSemantic.Strong)] set; }
member this.SelectedBackgroundView : UIKit.UIView with get, set
属性值
null
对于纯表,默认值为 ,null
对于分组样式表,默认值为非 。
此值可为 null
。
- 属性
注解
UITableView 仅当选定单元格时,才会将此过程的值添加为子视图。 如果 不是 null
,则将其作为子视图直接添加到 上方BackgroundView,否则在所有其他视图后面。
如果 SetSelected(Boolean, Boolean) 调用 ,则此视图将采用 alpha 淡出动画。