_FormRegion.SuppressControlReplacement Property

Returns or sets a Boolean (bool in C#) that disables Outlook from automatically replacing a Forms 2.0 control by a themed Outlook control at design time and runtime. Read/write.

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

Syntax

'Declaration
<DispIdAttribute()> _
Property SuppressControlReplacement As Boolean
    Get
    Set
'Usage
Dim instance As _FormRegion
Dim value As Boolean

value = instance.SuppressControlReplacement

instance.SuppressControlReplacement = value
[DispIdAttribute()]
bool SuppressControlReplacement { get; set; }

Property Value

Type: System.Boolean

Remarks

For more information on Outlook automatically replacing a Forms 2.0 control by a themed Outlook counterpart control, see Controls in a Custom Form.

See Also

Reference

_FormRegion Interface

_FormRegion Members

Microsoft.Office.Interop.Outlook Namespace