DataSourceControl.Visible 属性

定义

获取或设置一个值,该值指示是否以可视化方式显示控件。Gets or sets a value indicating whether the control is visually displayed.

public:
 virtual property bool Visible { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public override bool Visible { get; set; }
member this.Visible : bool with get, set
Public Overrides Property Visible As Boolean

属性值

总是为 falseAlways false.

属性

异常

尝试设置 Visible 属性的值。An attempt was made to set the value of the Visible property.

注解

由于控件没有可视呈现Visible , 因此属性始终返回falseDataSourceControlBecause the DataSourceControl control has no visual rendering, the Visible property always returns false.

适用于