Düzenle

Aracılığıyla paylaş


InteractableStringTheme.SetValue Method

Definition

Overloads

SetValue(ThemeStateProperty, ThemePropertyValue)

Instruct theme to set value for current property with ThemePropertyValue value provided

SetValue(ThemeStateProperty, Int32, Single)

Instruct theme to set value for current property with given index state and at given lerp percentage

SetValue(ThemeStateProperty, ThemePropertyValue)

Instruct theme to set value for current property with ThemePropertyValue value provided

protected:
 override void SetValue(Microsoft::MixedReality::Toolkit::UI::ThemeStateProperty ^ property, Microsoft::MixedReality::Toolkit::UI::ThemePropertyValue ^ value);
protected override void SetValue (Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty property, Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue value);
override this.SetValue : Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty * Microsoft.MixedReality.Toolkit.UI.ThemePropertyValue -> unit
Protected Overrides Sub SetValue (property As ThemeStateProperty, value As ThemePropertyValue)

Parameters

property
ThemeStateProperty

property to update value

value
ThemePropertyValue

Value for theme to set

Applies to

SetValue(ThemeStateProperty, Int32, Single)

Instruct theme to set value for current property with given index state and at given lerp percentage

public:
 override void SetValue(Microsoft::MixedReality::Toolkit::UI::ThemeStateProperty ^ property, int index, float percentage);
public override void SetValue (Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty property, int index, float percentage);
override this.SetValue : Microsoft.MixedReality.Toolkit.UI.ThemeStateProperty * int * single -> unit
Public Overrides Sub SetValue (property As ThemeStateProperty, index As Integer, percentage As Single)

Parameters

property
ThemeStateProperty

property to update value

index
Int32

index of state to access array of values

percentage
Single

percentage transition between values

Applies to