Version

RecordOnAncestor Method (RecordProxyBase)

Returns true if recording should be allowed on ancestor FrameworkElements. This is useful for scenarios where a control is embedded within a control of the same type (say, XamTabControl within a XamTabControl). We can control recording only on the actual child control and not all its ancestors.
Syntax
'Declaration
 
Protected Overridable Function RecordOnAncestor() As System.Boolean
protected virtual System.bool RecordOnAncestor()
protected: virtual System.bool RecordOnAncestor(); 

Return Value

True to indicate that recording should be allowed on ancestor FrameworkElements and false otherwise
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also