Version

MainImageAreaBorderColor Property

Gets/sets the border color for the MainImageAreaUIElement.
Syntax
'Declaration
 
Public Property MainImageAreaBorderColor As Color
public Color MainImageAreaBorderColor {get; set;}
Remarks

Note: The MainImageAreaBorderColor property can be set to Color.Transparent to prevent borders from appearing around the MainImageAreaUIElement. The MainImageAreaBorderColor property's value resolves to Color.Transparent when the Style property is set to 'Office2007' so that no border appears.

Example
The following code sample demonstrates how the MainImageAreaBorderColor property can be set to a transparent color to prevent a border from being drawn around the main image area:

Imports Infragistics.Win
Imports Infragistics.Win.Misc

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        '  Set the 'MainImageAreaBorderColor' property to Color.Transparent
        '  to prevent it from appearing.
        Me.desktopAlert.MainImageAreaBorderColor = Color.Transparent
    End Sub
using Infragistics.Win;
using Infragistics.Win.Misc;
using System.Diagnostics;

    private void Button1_Click(object sender, EventArgs e)
    {
        //  Set the 'MainImageAreaBorderColor' property to Color.Transparent
        //  to prevent it from appearing.
        this.desktopAlert.MainImageAreaBorderColor = Color.Transparent;
    }
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also