RenderTreeFrame.ComponentReferenceCaptureParentFrameIndex 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.
If the FrameType property equals ComponentReferenceCapture, gets the index of the parent frame representing the component being captured. Otherwise, the value is undefined. WARNING: This index can only be used in the context of the frame's original render tree. If the frame is copied elsewhere, such as to the ReferenceFrames buffer of a RenderTreeDiff, then the index will not relate to entries in that other buffer. Currently there's no scenario where this matters, but if there was, we could change all of the subtree initialization logic in RenderTreeDiffBuilder to walk the frames hierarchically, then it would know the parent index at the point where it wants to initialize the ComponentReferenceCapture frame.
public:
property int ComponentReferenceCaptureParentFrameIndex { int get(); };
public int ComponentReferenceCaptureParentFrameIndex { get; }
member this.ComponentReferenceCaptureParentFrameIndex : int
Public ReadOnly Property ComponentReferenceCaptureParentFrameIndex As Integer