Maria
Maria

Reputation: 364

How to binding Helix-MeshGeometryVisual3D in codebehind?

How can I implement the following XAML with the Code-Behind?

 <helix:MeshGeometryVisual3D MeshGeometry="{Binding TextGeometry}" />

Upvotes: 0

Views: 273

Answers (1)

CCamilo
CCamilo

Reputation: 887

Have you tried:

var geometry = new MeshGeometryVisual3D
{
    MeshGeometry = TextGeometry,
};

Upvotes: 1

Related Questions