SplitOpenThemeAnimation.ContentTarget Property


Gets or sets the UI element that will be translated. Typically this is a child/part of the element identified by OpenedTargetName or OpenedTarget.

Equivalent WinUI property: Microsoft.UI.Xaml.Media.Animation.SplitOpenThemeAnimation.ContentTarget.

 property DependencyObject ^ ContentTarget { DependencyObject ^ get(); void set(DependencyObject ^ value); };
DependencyObject ContentTarget();

void ContentTarget(DependencyObject value);
public DependencyObject ContentTarget { get; set; }
var dependencyObject = splitOpenThemeAnimation.contentTarget;
splitOpenThemeAnimation.contentTarget = dependencyObject;
Public Property ContentTarget As DependencyObject

Property Value


The UI element that will be translated.


Don't set this in XAML. For a XAML declaration, use ContentTargetName instead.

Applies to