Outlook VSTO this.OutlookFormRegion

Alastair MacFarlane 26 Reputation points
2021-01-02T21:20:44.437+00:00

Hi,

I am creating an Outlook VSTO in C# and was wondering if there was a way to change the background color of the Form Region at runtime?

    // Use this.OutlookFormRegion to get a reference to the form region.

    private void InsertTask_FormRegionShowing(object sender, System.EventArgs e)
    {

    };

I cannot see how I can change the color with the reference this.OutlookFormRegion. Can this be done? I want to be able to change the color at run-time based on information read from a database.

Thanks for taking the time to read this post.

Alastair

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,509 questions
0 comments No comments
{count} votes