Share via


ModuleListPageViewModes Enum

Definition

Specifies the views in the View drop-down list.

This enumeration supports a bitwise combination of its member values.

public enum class ModuleListPageViewModes
[System.Flags]
public enum ModuleListPageViewModes
type ModuleListPageViewModes = 
Public Enum ModuleListPageViewModes
Inheritance
ModuleListPageViewModes
Attributes

Fields

Name Value Description
Details 1

Displays configuration features as a list of names and descriptions.

Icons 2

Displays configuration features as icons.

Tiles 4

Displays configuration features as tiles.

List 8

Displays configuration features as a list of names.

Examples

The following example sets the view mode to Details.

void ShowDetails() {

    SetView(ModuleListPageViewModes.Details);

} 

The following example specifies how to set the view mode to each of the enumeration values.

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

Remarks

You can use this enumeration in Features View in IIS Manager to set the view mode and arrange the display of configuration features.

This enumerator has a System.FlagsAttribute attribute that enables a bitwise combination of its member values.

Applies to