IWbs.SetColumnVisibility Method

NOTE: This member is now obsolete. Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set HiddenByAdmin property instead. This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.

Sets visibility of a user/free column in WBS.
<Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set HiddenByAdmin property instead.
This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.")> _ 
Sub SetColumnVisibility( _ 
ByVal ColumnNumber As Integer, _ 
ByVal Visible As Boolean
)
This language is not supported or no code example is available.
[Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set HiddenByAdmin property instead.
This is a newer and more flexible API that was introduced in QDV 7.18.655. Access the WBS fields via Qdv.UserApi.IEstimate.WbsFieldsRepository property.")] 
void SetColumnVisibility( 
int ColumnNumber
bool Visible 
)
This language is not supported or no code example is available.

Parameters

ColumnNumber
int

The column number. The leftmost column has index 0.

Visible
bool

true to display the column, false to hide the column.

Exception type Condition

QdvApiException

A problem occurred.

Remarks
 
In order to have such changes taken into account, you must call the IEstimate.CheckAndRepaint method.
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition