SplitOpenThemeAnimation.ContentTarget Property

Definition

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.

public:
 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

DependencyObject

The UI element that will be translated.

Remarks

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

Applies to