ASP.NET Pack Programmer's Guide
Border Class
See Also
 





Represents a panel that draws a border around its child components.

Namespace: MindFusion.Diagramming
Package: Border.js

 Syntax

JavaScript  Copy Code

// class
Border.prototype = {}

 Example

This part of a custom CompositeNode's JSON template shows Text component inside a Border:

JavaScript  Copy Code
{
    component: "Border",
    gridColumn: 0,
    name: "SurnameBorder",
    pen: "yellow",
    strokeThickness: 2,
    brush: "green",
    margin: "2, 0, 0, 0",
    children:
    [
        {
            component: "Text",
            name: "Surname",
            autoProperty: true,
            text: "",
            font: "Arial"
        }
    ]
},

 See Also

Border Members
MindFusion.Diagramming Namespace