ViewModePreferences.ViewSizePreference Property


Gets or sets the preferred size of the app window.

 property ViewSizePreference ViewSizePreference { ViewSizePreference get(); void set(ViewSizePreference value); };
ViewSizePreference ViewSizePreference();

void ViewSizePreference(ViewSizePreference value);
public ViewSizePreference ViewSizePreference { get; set; }
var viewSizePreference = viewModePreferences.viewSizePreference;
viewModePreferences.viewSizePreference = viewSizePreference;
Public Property ViewSizePreference As ViewSizePreference

Property Value


A value of the enumeration that indicates the preferred size of the app window.

Applies to