Share via


CompositionVisualSurface.SourceVisual Property

Definition

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.

Applies to