Edit

Share via


_OlkLabel.UseHeaderColor Property

Definition

Returns or sets a Boolean (bool in C#) that indicates whether the label control should use the foreground color to match the current Windows XP or Windows Vista theme. Read/write.

public:
 property bool UseHeaderColor { bool get(); void set(bool value); };
public bool UseHeaderColor { get; set; }
Public Property UseHeaderColor As Boolean

Property Value

Remarks

This property is intended for label controls in a message form displayed in the Reading Pane and in the Inspector. If the property is True, then the label should use the foreground color that matches the current Windows theme. If the property is False, then the label should use the foreground color indicated by the ForeColor property.

Applies to