IColumnFormatting.HiddenByUser Property

Gets or sets a value indicating whether the column is explicitly hidden by a user.
Property HiddenByUser() As Boolean
This language is not supported or no code example is available.
bool HiddenByUser {get; set;}
This language is not supported or no code example is available.

Property Value

bool

true if the column was hidden by a user; otherwise, false.

Remarks
 
If the current user is not admin, and the HiddenByAdmin is set to true, then this property cannot be set to false. This property is not enough to determine, whether the field is visible in a particular context. It only indicates whether the column was explicitly hidden by a user. If this property is set to false, it doesn't necessarily mean that the column is visible. Some other criteria may cause it to be invisible, such as user profile permissions or visibility for progress statements or for estimate. For example, if we are in the 'Progress statement' mode and the IWbsField.VisibleInProgress is set to false, then the column is invisible regardless of a value of the HiddenByUser and HiddenByAdmin properties. Use IWbsFieldsRepository.IsColumnVisible method to determine, whether the field is visible in a particular context.
Version
 
Available since QDV 7.18.655.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition