Exemple #1
0
 internal CreationContext(
     Dictionary <string, VisualElement> slotInsertionPoints,
     VisualTreeAsset vta, VisualElement target)
     : this(slotInsertionPoints, null, vta, target)
 {
 }
Exemple #2
0
 public UsingEntry(string alias, VisualTreeAsset asset)
 {
     this.alias = alias;
     this.path  = null;
     this.asset = asset;
 }
Exemple #3
0
 public UsingEntry(string alias, string path)
 {
     this.alias = alias;
     this.path  = path;
     this.asset = null;
 }
Exemple #4
0
 internal void RegisterTemplate(string templateName, VisualTreeAsset asset)
 {
     InsertUsingEntry(new UsingEntry(templateName, asset));
 }
Exemple #5
0
 internal CreationContext(Dictionary <string, VisualElement> slotInsertionPoints, List <TemplateAsset.AttributeOverride> attributeOverrides, VisualTreeAsset vta, VisualElement target)
 {
     this.target = target;
     this.slotInsertionPoints = slotInsertionPoints;
     this.attributeOverrides  = attributeOverrides;
     this.visualTreeAsset     = vta;
 }