編輯

共用方式為


ThemeDefinition.GetDefaultThemeDefinition Method

Definition

Overloads

GetDefaultThemeDefinition(Type)

Utility function to generate the default ThemeDefinition configuration for the provided type of Theme engine

GetDefaultThemeDefinition<T>()

Utility function to generate the default ThemeDefinition configuration for the provided type of Theme engine

GetDefaultThemeDefinition(Type)

Utility function to generate the default ThemeDefinition configuration for the provided type of Theme engine

public:
 static Nullable<Microsoft::MixedReality::Toolkit::UI::ThemeDefinition> GetDefaultThemeDefinition(Type ^ themeType);
public static Microsoft.MixedReality.Toolkit.UI.ThemeDefinition? GetDefaultThemeDefinition (Type themeType);
static member GetDefaultThemeDefinition : Type -> Nullable<Microsoft.MixedReality.Toolkit.UI.ThemeDefinition>
Public Shared Function GetDefaultThemeDefinition (themeType As Type) As Nullable(Of ThemeDefinition)

Parameters

themeType
Type

type of Theme Engine to build default configuration for

Returns

Default ThemeDefinition configuration for the provided them type

Applies to

GetDefaultThemeDefinition<T>()

Utility function to generate the default ThemeDefinition configuration for the provided type of Theme engine

public:
generic <typename T>
 where T : Microsoft::MixedReality::Toolkit::UI::InteractableThemeBase static Nullable<Microsoft::MixedReality::Toolkit::UI::ThemeDefinition> GetDefaultThemeDefinition();
public static Microsoft.MixedReality.Toolkit.UI.ThemeDefinition? GetDefaultThemeDefinition<T> () where T : Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase;
static member GetDefaultThemeDefinition : unit -> Nullable<Microsoft.MixedReality.Toolkit.UI.ThemeDefinition> (requires 'T :> Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase)
Public Shared Function GetDefaultThemeDefinition(Of T As InteractableThemeBase) () As Nullable(Of ThemeDefinition)

Type Parameters

T

type of Theme Engine to build default configuration for

Returns

Default ThemeDefinition configuration for the provided them type

Applies to