Struct CreationContext
This structure holds information used during UXML template instantiation.
Syntax
public struct CreationContext : IEquatable<CreationContext>
Fields
Default
Declaration
public static readonly CreationContext Default
Field Value
Properties
slotInsertionPoints
Declaration
public Dictionary<string, VisualElement> slotInsertionPoints { get; }
Property Value
target
Declaration
public VisualElement target { get; }
Property Value
visualTreeAsset
The target UXML file to clone or instantiate.
Declaration
public VisualTreeAsset visualTreeAsset { get; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Equals(CreationContext)
Declaration
public bool Equals(CreationContext other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Operators
Equality(CreationContext, CreationContext)
Declaration
public static bool operator ==(CreationContext context1, CreationContext context2)
Parameters
Returns
Inequality(CreationContext, CreationContext)
Declaration
public static bool operator !=(CreationContext context1, CreationContext context2)
Parameters
Returns