widgetname.xml Details

The <widgetname.xml> defines the widget definition, which includes the name, basename, tagname, icon, properties to be captured during design time and events.

The sample xml is as follows:

<?xml version="1.0" encoding="UTF-8"?>

<component label="myid1" name="myWid1" extends="base" icon="mywid1/mywid.png" category="Container" tagName="div">

     <properties>

         <!-- property name="disabled" type="boolean"

          default="false"

      comment="Render this component disabled (default is false)."

/ -->

       <property name="Check This" type="string" default=""

           displayName="Check This" group="" comment="" />

        <property name="height" type="string" default=""

           displayName="Height" group="CSS" comment="" />

        <property name="width" type="string" default=""

            displayName="Width" group="CSS" comment="" />

      </properties>

     <events>

      </events>

</component>