protected override IDiagramItemView CreateView(DiagramControlViewInfo viewInfo, DiagramAppearanceObject appearance) { return(new DiagramShapeViewEx(DevExpress.XtraDiagram.Native.ShapeParser.Parse(Controller.Shape, appearance), () => viewInfo.OwnerControl.OptionsView.AllowShapeShadows, appearance, Content, RoundToRectangle(ConvertHelper.ToWinRect(Controller.EditorBounds)), this)); }
protected override IDiagramItemView CreateView(DiagramControlViewInfo viewInfo, DiagramAppearanceObject appearance) { return new DiagramShapeViewEx(DevExpress.XtraDiagram.Native.ShapeParser.Parse(Controller.Shape, appearance), () => viewInfo.OwnerControl.OptionsView.AllowShapeShadows, appearance, Content, RoundToRectangle(ConvertHelper.ToWinRect(Controller.EditorBounds)), this); }