Search
ButtonComponent Class
Remarks See Also
 





Represents a button-like component, which can respond to user clicks.

Namespace: MindFusion.Diagramming.Components
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class ButtonComponent : ContentComponent

Visual Basic  Copy Code

Public Class ButtonComponent
    Inherits ContentComponent

 Remarks

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

 Example

The following example illustrates how to use the ButtonComponent form XML:

XML  Copy Code

<Button Clicked="OnButtonClicked">
  <Button.ImageList>
    <Bitmap>Images/WheelNormal.png</Bitmap>
    <Bitmap>Images/WheelDown.png</Bitmap>
    <Bitmap>Images/WheelDisabled.png</Bitmap>
    <Bitmap>Images/WheelOver.png</Bitmap>
  </Button.ImageList>
</Button>

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Components.ComponentBase
        MindFusion.Diagramming.Components.ContentComponent
            MindFusion.Diagramming.Components.ButtonComponent
                MindFusion.Diagramming.Components.CheckBoxComponent

 See Also