Class SliderIntWithTickMark.UxmlTraits
UXML traits to initialize the slider properties from UXML attributes.
public class SliderIntWithTickMark.UxmlTraits : VisualElement.UxmlTraits
Inheritance
Properties
uxmlChildElementsDescription
Returns an enumerable containing UxmlChildElementDescription(typeof(VisualElement)), since VisualElements can contain other VisualElements.
public override IEnumerable<UxmlChildElementDescription> uxmlChildElementsDescription { get; }
Property Value
Methods
Init(VisualElement, IUxmlAttributes, CreationContext)
Initialize VisualElement properties using values from the attribute bag.
public override void Init(VisualElement ve, IUxmlAttributes bag, CreationContext cc)
Parameters
| Name | Type | Description |
|---|---|---|
ve | VisualElement | The object to initialize. |
bag | IUxmlAttributes | The attribute bag. |
cc | CreationContext | The creation context; unused. |