RadioButtonList.RenderWhenDataEmpty 属性
定义
获取或设置一个值,该值指示是否在数据源没有数据或控件未进行数据绑定时呈现控件。Gets or sets a value that indicates whether the control is rendered if the data source has no data or if the control is not data-bound.
public:
virtual property bool RenderWhenDataEmpty { bool get(); void set(bool value); };
[System.Web.UI.Themeable(true)]
public virtual bool RenderWhenDataEmpty { get; set; }
[<System.Web.UI.Themeable(true)>]
member this.RenderWhenDataEmpty : bool with get, set
Public Overridable Property RenderWhenDataEmpty As Boolean
属性值
如果在数据源没有数据或控件未进行数据绑定时呈现控件,则为 true;否则为 false。true if the control is rendered if the data source has no data or if the control is not data-bound; otherwise, false.
- 属性