PresentationSource.CompositionTarget 属性

定义

获取要在源中显示的视觉效果的可视目标。

public:
 property System::Windows::Media::CompositionTarget ^ CompositionTarget { System::Windows::Media::CompositionTarget ^ get(); };
public System.Windows.Media.CompositionTarget CompositionTarget { [System.Security.SecurityCritical] get; }
public System.Windows.Media.CompositionTarget CompositionTarget { get; }
[<get: System.Security.SecurityCritical>]
member this.CompositionTarget : System.Windows.Media.CompositionTarget
member this.CompositionTarget : System.Windows.Media.CompositionTarget
Public ReadOnly Property CompositionTarget As CompositionTarget

属性值

CompositionTarget

可视目标(CompositionTarget 派生类的实例)。

属性

注解

此属性的返回依赖于实现 。GetCompositionTargetCore

继承者说明

派生类可以选择对此属性进行阴影,以提供特定于类型的值。

适用于