ViewModePreferences.CreateDefault(ApplicationViewMode) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of ViewModePreferences with default property values set for the specified view mode.
public:
static ViewModePreferences ^ CreateDefault(ApplicationViewMode mode);
static ViewModePreferences CreateDefault(ApplicationViewMode const& mode);
public static ViewModePreferences CreateDefault(ApplicationViewMode mode);
function createDefault(mode)
Public Shared Function CreateDefault (mode As ApplicationViewMode) As ViewModePreferences
Parameters
- mode
- ApplicationViewMode
The view mode to set default preferences for.
Returns
A new instance of ViewModePreferences with default property values set for the specified view mode.