Search
BorderComponent Class
Remarks See Also
 





Represents a component which can draw a border around another component.

Namespace: MindFusion.Diagramming.Components
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class BorderComponent : ContentComponent

Visual Basic  Copy Code

Public Class BorderComponent
    Inherits ContentComponent

 Remarks

This component can be referenced from within XML content using the shortcut tag Border. For more information about how to define component trees in XML see Components and XML.

 Example

The following example illustrates how to use the BorderComponent in XML:

XML  Copy Code

<Border Name="myBorder" Padding="1" Background="#808000">
  <Text Text="Border" TextColor="#030539" />
</Border>

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Components.ComponentBase
        MindFusion.Diagramming.Components.ContentComponent
            MindFusion.Diagramming.Components.BorderComponent

 See Also