ViewModePreferences.CreateDefault(ApplicationViewMode) Method

Definition

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 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

ViewModePreferences

A new instance of ViewModePreferences with default property values set for the specified view mode.

Applies to