ReportItem.Hidden Property


获取或设置一个值,该值指示是否隐藏项。Gets or sets a value indicating whether the item is hidden or not.

 virtual property bool Hidden { bool get(); void set(bool value); };
public virtual bool Hidden { get; set; }
member this.Hidden : bool with get, set
Public Overridable Property Hidden As Boolean

Property Value


一个Boolean,该值指示该项是否处于隐藏状态。A Boolean indicating whether the item is hidden. True 指示该项处于隐藏状态;false 指示该项未处于隐藏状态。True indicates the item is hidden; false indicates that it is not hidden.


如果某个项处于隐藏状态,则其子级将不会显示,即使它们可能未标记为隐藏也是如此。If an item is hidden, its children will not be displayed even though they may not be marked as hidden. 如果某个项处于隐藏状态,并且其 IsToggleChild 属性为 true ,则它在报表中所占的空间将折叠,并将其他项移到它上面。If an item is hidden and its IsToggleChild property is true, the space it takes in the report is collapsed, moving other items around it.

Applies to