IColumnFormatting.HiddenByAdmin Property

Gets or sets a value indicating whether the column is explicitly set by the admin as globally hidden for all users.
Property HiddenByAdmin() As Boolean
This language is not supported or no code example is available.
bool HiddenByAdmin {get; set;}
This language is not supported or no code example is available.

Property Value

bool

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

Remarks
 
If the current user is admin, then this property has the same value as HiddenByUser. 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 the admin. 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