Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 6977

Compatible way to convert xaml to gojs

$
0
0

@vikashsingh wrote:

I had xaml file which i want to use as gojs , xaml file contain following

<go:BooleanThicknessConverter x:Key="AnchorThicknessChooser" TrueThickness="1" FalseThickness="0" />
<go:BooleanBrushConverter x:Key="AnchorStrokeChooser" TrueBrush="Black" FalseBrush="Red" />
<DataTemplate x:Key="LConnectorTopRight">
    <go:SpotPanel
        go:Part.LayerName="Foreground"
        go:Part.SelectionAdorned="False"
        go:Node.Location="{Binding Path=Data.Location, Mode=TwoWay}"
        go:Part.Resizable="{Binding Path=Data.Resizable, Mode=OneTime}"
        go:Part.ResizeElementName="Container"
        go:Part.ResizeAdornmentTemplate="{DynamicResource NodeResizeAdornmentTemplate}"
        go:Part.Rotatable="{Binding Path=Data.Rotatable, Mode=OneWay}"
        go:Node.RotationAngle="{Binding Path=Data.Angle, Mode=TwoWay}"
        go:Part.RotateAdornmentTemplate="{DynamicResource NodeRotationAdornmentTemplate}"
        go:Part.Reshapable="False">

        <ContextMenuService.ContextMenu>
            <ContextMenu ItemsSource="{DynamicResource NodeContextMenuTemplate}" />
        </ContextMenuService.ContextMenu>

Now i want to use same things in go js can i get some idea how i will do this

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6977

Latest Images

Trending Articles



Latest Images