_OlkFrameHeader.ForeColor Property

Returns or sets a UInteger (uint in C#) value that indicates the foreground color of the control. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<ComAliasNameAttribute("stdole.OLE_COLOR")> _
<DispIdAttribute()> _
Property ForeColor As UInteger
    Get
    Set
'Usage
Dim instance As _OlkFrameHeader
Dim value As UInteger

value = instance.ForeColor

instance.ForeColor = value
[ComAliasNameAttribute("stdole.OLE_COLOR")]
[DispIdAttribute()]
uint ForeColor { get; set; }

Property Value

Type: System.UInt32

Remarks

This property is of the type OLE_COLOR which is a UInteger (uint in C#) value. The default value for this property is 0x80000008, "Window Text."

The frame header control has only the foreground color and not the background color.

See Also

Reference

_OlkFrameHeader Interface

_OlkFrameHeader Members

Microsoft.Office.Interop.Outlook Namespace