Edit

CompositionExtensions.GetSpecializedReference<T> Method

Definition

Create an ExpressionNode reference to this specialized PropertySet.

public static T GetSpecializedReference<T>(this Microsoft.UI.Composition.CompositionPropertySet ps) where T : CommunityToolkit.WinUI.Animations.Expressions.PropertySetReferenceNode;
static member GetSpecializedReference : Microsoft.UI.Composition.CompositionPropertySet -> 'T (requires 'T :> CommunityToolkit.WinUI.Animations.Expressions.PropertySetReferenceNode)
<Extension()>
Public Function GetSpecializedReference(Of T As PropertySetReferenceNode) (ps As CompositionPropertySet) As T

Type Parameters

T

A class that derives from PropertySetReferenceNode.

Parameters

ps
Microsoft.UI.Composition.CompositionPropertySet

The ps.

Returns

T

T.

Exceptions

Invalid property set specialization

Applies to