CompositionVisualSurface.SourceVisual 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 root of the visual tree that is the target of the visual surface.
public:
property Visual ^ SourceVisual { Visual ^ get(); void set(Visual ^ value); };
Visual SourceVisual();
void SourceVisual(Visual value);
public Visual SourceVisual { get; set; }
var visual = compositionVisualSurface.sourceVisual;
compositionVisualSurface.sourceVisual = visual;
Public Property SourceVisual As Visual
Property Value
The root of the visual tree that is the target of the visual surface.