ModuleListPage.SelectedGrouping Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.