Share via


ModuleListPage.SelectedGrouping Property

Definition

Get or sets the list view grouping.

public:
 property Microsoft::Web::Management::Client::ModuleListPageGrouping ^ SelectedGrouping { Microsoft::Web::Management::Client::ModuleListPageGrouping ^ get(); void set(Microsoft::Web::Management::Client::ModuleListPageGrouping ^ value); };
public Microsoft.Web.Management.Client.ModuleListPageGrouping SelectedGrouping { get; set; }
member this.SelectedGrouping : Microsoft.Web.Management.Client.ModuleListPageGrouping with get, set
Public Property SelectedGrouping As ModuleListPageGrouping

Property Value

The ModuleListPageGrouping object.

Examples

The following example gets the value of the SelectedGrouping property to verify that the selected grouping is not null. The example then calls the OnGroup method.

protected override void Refresh() {

    StartAsyncTask("Fetching settings",
      new DoWorkEventHandler(GetSettingsMLP),
    new RunWorkerCompletedEventHandler(GetSettingsCompleted));

    if (SelectedGrouping != null)
        OnGroup(SelectedGrouping);
}

Remarks

The set accessor calls the Group method.

Applies to