Dela via


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

Applies to