Пример #1
0
 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));
 }
Пример #2
0
 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);
 }