Completed
Last Updated: 27 Sep 2016 07:15 by ADMIN
ADMIN
Dimitar
Created on: 01 Sep 2016 06:17
Category: Diagram, DiagramRibbonBar, DiagramToolBox
Type: Bug Report
1
FIX. RadDiagram - exception when the BringIntoView method is called with useAnimation parameter set to true.
To reproduce:
- Add some shapes and call the BringToView method
Private Sub RadButton4_Click(sender As Object, e As EventArgs) Handles RadButton4.Click
    Dim ds As RadDiagramShape
    For i As Integer = 0 To Me.RadDiagram1.Shapes.Count - 1
        If i = 2 Then
            ds = DirectCast(RadDiagram1.Shapes(i), RadDiagramShape)
            Me.RadDiagram1.DiagramElement.BringIntoView(ds, 1.0, True)
            Exit For
        End If
    Next
End Sub

Workaround:
Me.RadDiagram1.DiagramElement.BringIntoView(ds, 1.0, False)
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments