ElementFactoryGetArgs Class

Summary

Represents the optional arguments to use when calling an implementation of the IElementFactory's GetElement(ElementFactoryGetArgs) method.
Namespace
Avalonia.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["ElementFactoryGetArgs"] class Type type-node

Syntax

public class ElementFactoryGetArgs

Properties

Name Value Summary
Data object
Gets or sets the data item for which an appropriate element tree should be realized when calling GetElement(ElementFactoryGetArgs).
Index int
Gets or sets the index of the item that should be realized.
Parent IControl
Gets or sets the IControl that is expected to be the parent of the realized element from GetElement(ElementFactoryGetArgs).