DisplayOptions

Project.DisplayOptions property

Gets an instance of the ProjectDisplayOptions class.

public ProjectDisplayOptions DisplayOptions { get; }

Examples

Shows how to tune project’s display options.

var project = new Project(DataDir + "Blank2010.mpp");

// Set a value indicating whether to show warnings when Project identifies a possible scheduling conflict with a manually scheduled task.
// This option is available for Project 2010 version and later.
project.DisplayOptions.ShowTaskScheduleWarnings = false;

See Also