ElementFactoryGetArgs.Parent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the UIElement that is expected to be the parent of the realized element from GetElement.
public:
property UIElement ^ Parent { UIElement ^ get(); void set(UIElement ^ value); };
UIElement Parent();
void Parent(UIElement value);
public UIElement Parent { get; set; }
var uIElement = elementFactoryGetArgs.parent;
elementFactoryGetArgs.parent = uIElement;
Public Property Parent As UIElement
Property Value
The UIElement object expected to be the parent of the realized UIElement or null. By default, it is null.
Remarks
This value is optional. When used it can enable a performance optimization for implementations of GetElement that return recycled elements. For more info, see the remarks for the DataTemplate.RecycleElement method.