Share via


ModuleListPage.ViewModes Property

Definition

Gets the supported view modes.

public:
 virtual property Microsoft::Web::Management::Client::ModuleListPageViewModes ViewModes { Microsoft::Web::Management::Client::ModuleListPageViewModes get(); };
public virtual Microsoft.Web.Management.Client.ModuleListPageViewModes ViewModes { get; }
member this.ViewModes : Microsoft.Web.Management.Client.ModuleListPageViewModes
Public Overridable ReadOnly Property ViewModes As ModuleListPageViewModes

Property Value

One of the ModuleListPageViewModes values.

Examples

The following example implements the ViewModes property by returning each view mode.

public override ModuleListPageViewModes ViewModes {
    get {
        return ModuleListPageViewModes.Details |
            ModuleListPageViewModes.Icons |
            ModuleListPageViewModes.List |
            ModuleListPageViewModes.Tiles;
    }
} 

Remarks

The base class implementation returns Microsoft.Web.Management.Client.ModuleListPageViewModes.Details.

Applies to