Show / Hide Table of Contents

Class UIEExtension

UI Elements extension methods

Inheritance
object
UIEExtension
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SuiSuiShou.UIEEx
Assembly: SuiSuiShou.UIEEx.Runtime.dll
Syntax
public static class UIEExtension

Methods

| Improve this Doc View Source

SetBindingPath<T>(T, string)

Set the binding path of the target element

Declaration
public static T SetBindingPath<T>(this T target, string bindingPath) where T : IBindable
Parameters
Type Name Description
T target
string bindingPath
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

SetLabel<T>(BaseField<T>, string)

Set the Label content of the target element, return BaseField

Declaration
public static BaseField<T> SetLabel<T>(this BaseField<T> target, string label)
Parameters
Type Name Description
UnityEngine.UIElements.BaseField<TValueType><T> target
string label
Returns
Type Description
UnityEngine.UIElements.BaseField<TValueType><T>
Type Parameters
Name Description
T
| Improve this Doc View Source

SetLabel<T, V>(T, string)

Set the Label content of BaseField element, return the target element

Declaration
public static T SetLabel<T, V>(this T target, string label) where T : BaseField<V>
Parameters
Type Name Description
T target
string label
Returns
Type Description
T
Type Parameters
Name Description
T
V
| Improve this Doc View Source

SetParent<T>(T, VisualElement)

Set the parent of the target element

Declaration
public static T SetParent<T>(this T target, VisualElement parent) where T : VisualElement
Parameters
Type Name Description
T target
UnityEngine.UIElements.VisualElement parent
Returns
Type Description
T
Type Parameters
Name Description
T
| Improve this Doc View Source

SetText<T>(T, string)

Set the text of the target element

Declaration
public static T SetText<T>(this T target, string text) where T : TextElement
Parameters
Type Name Description
T target
string text
Returns
Type Description
T
Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX