GroupStyleSelector.SelectGroupStyle(Object, UInt32) 方法

定義

傳回指定群組和層級的特定 GroupStyle

GroupStyle SelectGroupStyle(IInspectable const& group, uint32_t const& level);
public GroupStyle SelectGroupStyle(object group, uint level);
function selectGroupStyle(group, level)
Public Function SelectGroupStyle (group As Object, level As UInteger) As GroupStyle

參數

group
Object

IInspectable

要為其傳回 GroupStyle 的群組

level
UInt32

uint32_t

指定群組的巢狀層級。

傳回

應用程式中叫用此 GroupStyleSelector 時要使用的 GroupStyle

備註

若要在衍生類別中提供特定的群組樣式,請覆寫 SelectGroupStyleCore 方法。

Windows 8 在 Windows 8 中,您可以傳遞 null 作為群組參數值。 在 Windows 8.1 中,傳遞 null 會導致錯誤。

適用於