IWbs.SetColumnBackgroundColor Method

NOTE: This member is now obsolete. Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set DataFormatting.BackgroundColor 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 the background color of a column in the WBS.
<Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set DataFormatting.BackgroundColor 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 SetColumnBackgroundColor( _ 
ByVal columnNameOrUniqueIdentifier As String, _ 
ByVal backgroundColor As Color, _ 
Optional ByVal useUniqueIdentifierInstead As Boolean = False _ 
)
This language is not supported or no code example is available.
[Obsolete("Use Qdv.UserApi.Fields.IWbsField.Formatting property and then set DataFormatting.BackgroundColor 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 SetColumnBackgroundColor( 
string columnNameOrUniqueIdentifier
Color backgroundColor
bool useUniqueIdentifierInstead = False 
)
This language is not supported or no code example is available.

Parameters

columnNameOrUniqueIdentifier
string

The name identifier to the column or the unique identifier to the column.

backgroundColor
Color

The background color to be applied.

useUniqueIdentifierInstead
bool

Optional. The default value is False.If set to true, then the unique identifier to the column is taken; otherwise, the name identifier of the column is taken

Remarks
 
When name identifier is used, there can be multiple columns, so the function paint all. This can occurs when a column from the minutes is broken down.
Version
 
Available since QDV 7.17.646.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition