|
|
@@ -0,0 +1,1101 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!-- WinForms Control Definitions for UI Layout Definition Format -->
|
|
|
+<patterns xmlns="ui-layout-patterns">
|
|
|
+
|
|
|
+ <!-- Basic Display Controls -->
|
|
|
+ <control name="Label" type="display" category="winforms-basic">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="" />
|
|
|
+ <attribute name="font" type="font" default="Microsoft Sans Serif, 8.25pt" />
|
|
|
+ <attribute name="forecolor" type="color" default="ControlText" />
|
|
|
+ <attribute name="backcolor" type="color" default="Control" />
|
|
|
+ <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="TopLeft" />
|
|
|
+ <attribute name="autosize" type="bool" default="false" />
|
|
|
+ <attribute name="wordwrap" type="bool" default="true" />
|
|
|
+ <attribute name="usemnemonic" type="bool" default="true" />
|
|
|
+ <attribute name="borderStyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="click" />
|
|
|
+ <event name="doubleclick" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="LinkLabel" type="display" category="winforms-basic" inherits="Label">
|
|
|
+ <attributes>
|
|
|
+ <attribute name="linkcolor" type="color" default="Blue" />
|
|
|
+ <attribute name="visitedlinkcolor" type="color" default="Purple" />
|
|
|
+ <attribute name="activelinkcolor" type="color" default="Red" />
|
|
|
+ <attribute name="linkbehavior" type="enum" values="SystemDefault,AlwaysUnderline,HoverUnderline,NeverUnderline" default="SystemDefault" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="linkclicked" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <links min-count="0" max-count="unlimited">
|
|
|
+ <link start="" length="" linkdata="" />
|
|
|
+ </links>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Input Controls -->
|
|
|
+ <control name="TextBox" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="" />
|
|
|
+ <attribute name="maxlength" type="int" default="32767" min="0" max="2147483647" />
|
|
|
+ <attribute name="multiline" type="bool" default="false" />
|
|
|
+ <attribute name="readonly" type="bool" default="false" />
|
|
|
+ <attribute name="passwordchar" type="char" default="" />
|
|
|
+ <attribute name="usepasswordchar" type="bool" default="false" />
|
|
|
+ <attribute name="acceptstab" type="bool" default="false" />
|
|
|
+ <attribute name="acceptsreturn" type="bool" default="false" />
|
|
|
+ <attribute name="wordwrap" type="bool" default="true" />
|
|
|
+ <attribute name="scrollbars" type="enum" values="None,Horizontal,Vertical,Both" default="None" />
|
|
|
+ <attribute name="textalign" type="enum" values="Left,Center,Right" default="Left" />
|
|
|
+ <attribute name="charactercasing" type="enum" values="Normal,Upper,Lower" default="Normal" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="textchanged" />
|
|
|
+ <event name="enter" />
|
|
|
+ <event name="leave" />
|
|
|
+ <event name="keydown" />
|
|
|
+ <event name="keyup" />
|
|
|
+ <event name="keypress" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="RichTextBox" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="" />
|
|
|
+ <attribute name="rtf" type="string" default="" />
|
|
|
+ <attribute name="readonly" type="bool" default="false" />
|
|
|
+ <attribute name="multiline" type="bool" default="true" />
|
|
|
+ <attribute name="wordwrap" type="bool" default="true" />
|
|
|
+ <attribute name="scrollbars" type="enum" values="None,Horizontal,Vertical,Both,ForcedHorizontal,ForcedVertical,ForcedBoth" default="Both" />
|
|
|
+ <attribute name="detecturls" type="bool" default="true" />
|
|
|
+ <attribute name="autowordselection" type="bool" default="false" />
|
|
|
+ <attribute name="showselectionmargin" type="bool" default="false" />
|
|
|
+ <attribute name="acceptstab" type="bool" default="false" />
|
|
|
+ <attribute name="zoomfactor" type="float" default="1.0" min="0.015625" max="64.0" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="textchanged" />
|
|
|
+ <event name="selectionchanged" />
|
|
|
+ <event name="linkclicked" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="MaskedTextBox" type="input" category="winforms-input" inherits="TextBox">
|
|
|
+ <attributes>
|
|
|
+ <attribute name="mask" type="string" default="" />
|
|
|
+ <attribute name="promptchar" type="char" default="_" />
|
|
|
+ <attribute name="includeprompt" type="bool" default="true" />
|
|
|
+ <attribute name="includeliterals" type="bool" default="true" />
|
|
|
+ <attribute name="allowpromptascorrectchar" type="bool" default="true" />
|
|
|
+ <attribute name="asciionly" type="bool" default="false" />
|
|
|
+ <attribute name="beeponsamplerror" type="bool" default="false" />
|
|
|
+ <attribute name="culture" type="string" default="en-US" />
|
|
|
+ <attribute name="cutcopymaskedformat" type="enum" values="IncludePrompt,IncludeLiterals,ExcludePromptAndLiterals" default="IncludeLiterals" />
|
|
|
+ <attribute name="hidepromptonfocus" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="maskchanged" />
|
|
|
+ <event name="maskinputrejected" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Selection Controls -->
|
|
|
+ <control name="ComboBox" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>items</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ <requires-structure>items</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="" />
|
|
|
+ <attribute name="selectedindex" type="int" default="-1" />
|
|
|
+ <attribute name="selectedtext" type="string" default="" />
|
|
|
+ <attribute name="dropdownstyle" type="enum" values="Simple,DropDown,DropDownList" default="DropDown" />
|
|
|
+ <attribute name="dropdownwidth" type="int" default="121" min="0" />
|
|
|
+ <attribute name="dropdownheight" type="int" default="106" min="0" />
|
|
|
+ <attribute name="maxdropdownitems" type="int" default="8" min="1" max="100" />
|
|
|
+ <attribute name="sorted" type="bool" default="false" />
|
|
|
+ <attribute name="integralheight" type="bool" default="true" />
|
|
|
+ <attribute name="itemheight" type="int" default="13" min="0" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="selectedindexchanged" />
|
|
|
+ <event name="selectedvaluechanged" />
|
|
|
+ <event name="textchanged" />
|
|
|
+ <event name="dropdownclosed" />
|
|
|
+ <event name="dropdown" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item text="" value="" />
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="ListBox" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>items</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ <requires-structure>items</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="selectedindex" type="int" default="-1" />
|
|
|
+ <attribute name="selectionmode" type="enum" values="None,One,MultiSimple,MultiExtended" default="One" />
|
|
|
+ <attribute name="sorted" type="bool" default="false" />
|
|
|
+ <attribute name="integralheight" type="bool" default="true" />
|
|
|
+ <attribute name="itemheight" type="int" default="13" min="0" />
|
|
|
+ <attribute name="scrollalwaysvisible" type="bool" default="false" />
|
|
|
+ <attribute name="horizontalscrollbar" type="bool" default="false" />
|
|
|
+ <attribute name="horizontalextent" type="int" default="0" />
|
|
|
+ <attribute name="columnwidth" type="int" default="0" />
|
|
|
+ <attribute name="multicolumn" type="bool" default="false" />
|
|
|
+ <attribute name="usecolumns" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="selectedindexchanged" />
|
|
|
+ <event name="selectedvaluechanged" />
|
|
|
+ <event name="doubleclick" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item text="" value="" />
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="CheckedListBox" type="input" category="winforms-input" inherits="ListBox">
|
|
|
+ <attributes>
|
|
|
+ <attribute name="checkontab" type="bool" default="false" />
|
|
|
+ <attribute name="threedcheckboxes" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="itemcheck" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item text="" value="" checked="false" checkstate="Unchecked" />
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Action Controls -->
|
|
|
+ <control name="Button" type="action" category="winforms-action">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="Button" />
|
|
|
+ <attribute name="enabled" type="bool" default="true" />
|
|
|
+ <attribute name="usevisualstyleelement" type="bool" default="true" />
|
|
|
+ <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
|
|
|
+ <attribute name="image" type="image" default="null" />
|
|
|
+ <attribute name="imagealign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleCenter" />
|
|
|
+ <attribute name="imageindex" type="int" default="-1" />
|
|
|
+ <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleCenter" />
|
|
|
+ <attribute name="textimagerelation" type="enum" values="Overlay,TextAboveImage,TextBeforeImage,ImageAboveText,ImageBeforeText" default="Overlay" />
|
|
|
+ <attribute name="usemnemonic" type="bool" default="true" />
|
|
|
+ <attribute name="dialogresult" type="enum" values="None,OK,Cancel,Abort,Retry,Ignore,Yes,No" default="None" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="click" required="true" />
|
|
|
+ <event name="mousedown" />
|
|
|
+ <event name="mouseup" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="CheckBox" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="CheckBox" />
|
|
|
+ <attribute name="checked" type="bool" default="false" />
|
|
|
+ <attribute name="checkstate" type="enum" values="Unchecked,Checked,Indeterminate" default="Unchecked" />
|
|
|
+ <attribute name="threestate" type="bool" default="false" />
|
|
|
+ <attribute name="autocheck" type="bool" default="true" />
|
|
|
+ <attribute name="appearance" type="enum" values="Normal,Button" default="Normal" />
|
|
|
+ <attribute name="checkalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
|
|
|
+ <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
|
|
|
+ <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="checkedchanged" />
|
|
|
+ <event name="checkstatechanged" />
|
|
|
+ <event name="click" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="RadioButton" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="RadioButton" />
|
|
|
+ <attribute name="checked" type="bool" default="false" />
|
|
|
+ <attribute name="autocheck" type="bool" default="true" />
|
|
|
+ <attribute name="appearance" type="enum" values="Normal,Button" default="Normal" />
|
|
|
+ <attribute name="checkalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
|
|
|
+ <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
|
|
|
+ <attribute name="textalign" type="enum" values="TopLeft,TopCenter,TopRight,MiddleLeft,MiddleCenter,MiddleRight,BottomLeft,BottomCenter,BottomRight" default="MiddleLeft" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="checkedchanged" />
|
|
|
+ <event name="click" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Container Controls -->
|
|
|
+ <control name="Panel" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <max-children>unlimited</max-children>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="autosize" type="bool" default="false" />
|
|
|
+ <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
|
|
|
+ <attribute name="autoscroll" type="bool" default="false" />
|
|
|
+ <attribute name="autoscrollmargin" type="size" default="0,0" />
|
|
|
+ <attribute name="autoscrollminsize" type="size" default="0,0" />
|
|
|
+ <attribute name="padding" type="padding" default="0,0,0,0" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <children allow-multiple="true" />
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="GroupBox" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="GroupBox" />
|
|
|
+ <attribute name="flatstyle" type="enum" values="Flat,Popup,Standard,System" default="Standard" />
|
|
|
+ <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
|
|
|
+ <attribute name="autosize" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="TabControl" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>TabPage</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>tabpages</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="selectedindex" type="int" default="-1" />
|
|
|
+ <attribute name="alignment" type="enum" values="Top,Bottom,Left,Right" default="Top" />
|
|
|
+ <attribute name="appearance" type="enum" values="Normal,Buttons,FlatButtons" default="Normal" />
|
|
|
+ <attribute name="multiline" type="bool" default="false" />
|
|
|
+ <attribute name="sizemodeFixed" type="bool" default="false" />
|
|
|
+ <attribute name="itemsize" type="size" default="0,0" />
|
|
|
+ <attribute name="padding" type="point" default="6,3" />
|
|
|
+ <attribute name="showtooltips" type="bool" default="false" />
|
|
|
+ <attribute name="hottrack" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="selectedindexchanged" />
|
|
|
+ <event name="selecting" />
|
|
|
+ <event name="selected" />
|
|
|
+ <event name="deselecting" />
|
|
|
+ <event name="deselected" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <tabpages min-count="0" max-count="unlimited">
|
|
|
+ <tabpage name="" text="" tooltip="" imageindex="-1" />
|
|
|
+ </tabpages>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="TabPage" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>TabControl</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="text" type="string" default="TabPage" />
|
|
|
+ <attribute name="tooltip" type="string" default="" />
|
|
|
+ <attribute name="imageindex" type="int" default="-1" />
|
|
|
+ <attribute name="imagekey" type="string" default="" />
|
|
|
+ <attribute name="usevisualstylebackcolor" type="bool" default="false" />
|
|
|
+ <attribute name="autoscroll" type="bool" default="false" />
|
|
|
+ <attribute name="autoscrollmargin" type="size" default="0,0" />
|
|
|
+ <attribute name="autoscrollminsize" type="size" default="0,0" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="SplitContainer" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel</allowed-parents>
|
|
|
+ <allowed-children>SplitPanel</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>panels</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="orientation" type="enum" values="Horizontal,Vertical" default="Vertical" />
|
|
|
+ <attribute name="splitposition" type="int" default="50" />
|
|
|
+ <attribute name="splitterdistance" type="int" default="50" />
|
|
|
+ <attribute name="splitterwidth" type="int" default="4" min="1" />
|
|
|
+ <attribute name="fixedpanel" type="enum" values="None,Panel1,Panel2" default="None" />
|
|
|
+ <attribute name="issplitterfixed" type="bool" default="false" />
|
|
|
+ <attribute name="panel1collapsed" type="bool" default="false" />
|
|
|
+ <attribute name="panel2collapsed" type="bool" default="false" />
|
|
|
+ <attribute name="panel1mindistance" type="int" default="25" />
|
|
|
+ <attribute name="panel2mindistance" type="int" default="25" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="splittermoved" />
|
|
|
+ <event name="splittermoving" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <panels min-count="2" max-count="2">
|
|
|
+ <panel name="Panel1" />
|
|
|
+ <panel name="Panel2" />
|
|
|
+ </panels>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="SplitPanel" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>SplitContainer</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="autoscroll" type="bool" default="false" />
|
|
|
+ <attribute name="autoscrollmargin" type="size" default="0,0" />
|
|
|
+ <attribute name="autoscrollminsize" type="size" default="0,0" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="TableLayoutPanel" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>table-layout</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="columncount" type="int" default="2" min="0" />
|
|
|
+ <attribute name="rowcount" type="int" default="2" min="0" />
|
|
|
+ <attribute name="growstyle" type="enum" values="FixedSize,AddRows,AddColumns" default="AddRows" />
|
|
|
+ <attribute name="cellborderstyle" type="enum" values="None,Single,Inset,InsetDouble,Outset,OutsetDouble,OutsetPartial" default="None" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <table-layout>
|
|
|
+ <columns min-count="1" max-count="unlimited">
|
|
|
+ <column sizetype="AutoSize" size="0" />
|
|
|
+ </columns>
|
|
|
+ <rows min-count="1" max-count="unlimited">
|
|
|
+ <row sizetype="AutoSize" size="0" />
|
|
|
+ </rows>
|
|
|
+ <cells>
|
|
|
+ <cell column="0" row="0" columnspan="1" rowspan="1" />
|
|
|
+ </cells>
|
|
|
+ </table-layout>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="FlowLayoutPanel" type="container" category="winforms-container">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>any-control</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="flowdirection" type="enum" values="LeftToRight,TopDown,RightToLeft,BottomUp" default="LeftToRight" />
|
|
|
+ <attribute name="wrapcontents" type="bool" default="true" />
|
|
|
+ <attribute name="autosize" type="bool" default="false" />
|
|
|
+ <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Data Controls -->
|
|
|
+ <control name="DataGridView" type="data" category="winforms-data">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>columns</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>columns</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="allowusertoaddrows" type="bool" default="true" />
|
|
|
+ <attribute name="allowusertodeleterows" type="bool" default="true" />
|
|
|
+ <attribute name="allowusertoresizecolumns" type="bool" default="true" />
|
|
|
+ <attribute name="allowusertoresizerows" type="bool" default="true" />
|
|
|
+ <attribute name="allowusertoordercolumns" type="bool" default="false" />
|
|
|
+ <attribute name="multiselect" type="bool" default="true" />
|
|
|
+ <attribute name="readonly" type="bool" default="false" />
|
|
|
+ <attribute name="selectionmode" type="enum" values="CellSelect,FullRowSelect,FullColumnSelect,RowHeaderSelect,ColumnHeaderSelect" default="RowHeaderSelect" />
|
|
|
+ <attribute name="autosizecolumnsmode" type="enum" values="None,AllCells,AllCellsExceptHeader,DisplayedCells,DisplayedCellsExceptHeader,ColumnHeader,Fill" default="None" />
|
|
|
+ <attribute name="autosizerowsmode" type="enum" values="None,AllHeaders,AllCells,AllCellsExceptHeaders,DisplayedHeaders,DisplayedCells,DisplayedCellsExceptHeaders" default="None" />
|
|
|
+ <attribute name="columnheadersvisible" type="bool" default="true" />
|
|
|
+ <attribute name="rowheadersvisible" type="bool" default="true" />
|
|
|
+ <attribute name="gridlines" type="bool" default="true" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="FixedSingle" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="cellclick" />
|
|
|
+ <event name="celldoubleclick" />
|
|
|
+ <event name="cellvaluechanged" />
|
|
|
+ <event name="currentcellchanged" />
|
|
|
+ <event name="selectionchanged" />
|
|
|
+ <event name="rowenter" />
|
|
|
+ <event name="rowleave" />
|
|
|
+ <event name="columnheadermouseclick" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <columns min-count="0" max-count="unlimited">
|
|
|
+ <column name="" headertext="" datapropertyname="" width="100" visible="true" readonly="false" resizable="true" sortmode="Automatic" />
|
|
|
+ </columns>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="ListView" type="data" category="winforms-data">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>columns,items</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="view" type="enum" values="LargeIcon,Details,SmallIcon,List,Tile" default="LargeIcon" />
|
|
|
+ <attribute name="multiselect" type="bool" default="true" />
|
|
|
+ <attribute name="fullrowselect" type="bool" default="false" />
|
|
|
+ <attribute name="gridlines" type="bool" default="false" />
|
|
|
+ <attribute name="headerStyle" type="enum" values="Clickable,NonClickable,None" default="Clickable" />
|
|
|
+ <attribute name="hideselection" type="bool" default="true" />
|
|
|
+ <attribute name="hovselection" type="bool" default="false" />
|
|
|
+ <attribute name="labelwrap" type="bool" default="true" />
|
|
|
+ <attribute name="scrollable" type="bool" default="true" />
|
|
|
+ <attribute name="showgroups" type="bool" default="false" />
|
|
|
+ <attribute name="showitemtooltips" type="bool" default="false" />
|
|
|
+ <attribute name="sorting" type="enum" values="None,Ascending,Descending" default="None" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
|
|
|
+ <attribute name="activation" type="enum" values="Standard,OneClick,TwoClick" default="Standard" />
|
|
|
+ <attribute name="alignment" type="enum" values="Default,Left,Top,SnapToGrid" default="Default" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="selectedindexchanged" />
|
|
|
+ <event name="itemselectionchanged" />
|
|
|
+ <event name="itemactivate" />
|
|
|
+ <event name="itemcheck" />
|
|
|
+ <event name="beforelabeledit" />
|
|
|
+ <event name="afterlabeledit" />
|
|
|
+ <event name="columnclick" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <columns min-count="0" max-count="unlimited">
|
|
|
+ <column text="" width="60" textalign="Left" />
|
|
|
+ </columns>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item text="" imageindex="-1" checked="false" tag="">
|
|
|
+ <subitems>
|
|
|
+ <subitem text="" />
|
|
|
+ </subitems>
|
|
|
+ </item>
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="TreeView" type="data" category="winforms-data">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>nodes</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>nodes</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="checkboxes" type="bool" default="false" />
|
|
|
+ <attribute name="fullrowselect" type="bool" default="false" />
|
|
|
+ <attribute name="hideselection" type="bool" default="true" />
|
|
|
+ <attribute name="hottracking" type="bool" default="false" />
|
|
|
+ <attribute name="labelEdit" type="bool" default="false" />
|
|
|
+ <attribute name="showlines" type="bool" default="true" />
|
|
|
+ <attribute name="showplusminus" type="bool" default="true" />
|
|
|
+ <attribute name="showrootlines" type="bool" default="true" />
|
|
|
+ <attribute name="sorted" type="bool" default="false" />
|
|
|
+ <attribute name="scrollable" type="bool" default="true" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
|
|
|
+ <attribute name="indent" type="int" default="19" min="0" />
|
|
|
+ <attribute name="itemheight" type="int" default="16" min="1" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="beforeselect" />
|
|
|
+ <event name="afterselect" />
|
|
|
+ <event name="beforecheck" />
|
|
|
+ <event name="aftercheck" />
|
|
|
+ <event name="beforeexpand" />
|
|
|
+ <event name="afterexpand" />
|
|
|
+ <event name="beforecollapse" />
|
|
|
+ <event name="aftercollapse" />
|
|
|
+ <event name="beforelabeledit" />
|
|
|
+ <event name="afterlabeledit" />
|
|
|
+ <event name="nodeMouseClick" />
|
|
|
+ <event name="nodeMouseDoubleClick" />
|
|
|
+ </behavior>
|
|
|
+ <structure>
|
|
|
+ <nodes min-count="0" max-count="unlimited">
|
|
|
+ <node text="" imageindex="-1" selectedimageindex="-1" checked="false" expanded="false" tag="">
|
|
|
+ <nodes max-depth="50">
|
|
|
+ <!-- Recursive node structure with depth limit -->
|
|
|
+ </nodes>
|
|
|
+ </node>
|
|
|
+ </nodes>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Progress and Status Controls -->
|
|
|
+ <control name="ProgressBar" type="display" category="winforms-status">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="minimum" type="int" default="0" />
|
|
|
+ <attribute name="maximum" type="int" default="100" />
|
|
|
+ <attribute name="value" type="int" default="0" />
|
|
|
+ <attribute name="step" type="int" default="10" />
|
|
|
+ <attribute name="style" type="enum" values="Blocks,Continuous,Marquee" default="Blocks" />
|
|
|
+ <attribute name="marqueeanimationspeed" type="int" default="100" min="0" />
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="StatusStrip" type="container" category="winforms-status">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>ToolStripStatusLabel,ToolStripProgressBar,ToolStripDropDownButton,ToolStripSplitButton</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="sizinggrip" type="bool" default="true" />
|
|
|
+ <attribute name="showitemtooltips" type="bool" default="false" />
|
|
|
+ <attribute name="stretch" type="bool" default="true" />
|
|
|
+ <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item type="StatusLabel" text="" />
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Menu and Toolbar Controls -->
|
|
|
+ <control name="MenuStrip" type="navigation" category="winforms-menu">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>ToolStripMenuItem</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ <requires-structure>menu-items</requires-structure>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="showitemtooltips" type="bool" default="false" />
|
|
|
+ <attribute name="stretch" type="bool" default="true" />
|
|
|
+ <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <menu-items min-count="0" max-count="unlimited">
|
|
|
+ <menu-item text="" shortcutkeys="None" enabled="true" visible="true" checked="false">
|
|
|
+ <menu-items max-depth="10">
|
|
|
+ <!-- Recursive menu structure -->
|
|
|
+ </menu-items>
|
|
|
+ </menu-item>
|
|
|
+ </menu-items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="ToolStrip" type="navigation" category="winforms-toolbar">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form,Panel,GroupBox,TabPage</allowed-parents>
|
|
|
+ <allowed-children>ToolStripButton,ToolStripLabel,ToolStripSeparator,ToolStripComboBox,ToolStripTextBox</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="showitemtooltips" type="bool" default="true" />
|
|
|
+ <attribute name="stretch" type="bool" default="true" />
|
|
|
+ <attribute name="gripsVisible" type="bool" default="true" />
|
|
|
+ <attribute name="canoverflow" type="bool" default="true" />
|
|
|
+ <attribute name="layoutstyle" type="enum" values="Flow,HorizontalStackWithOverflow,StackWithOverflow,Table,VerticalStackWithOverflow" default="StackWithOverflow" />
|
|
|
+ <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
|
|
|
+ <attribute name="textumode" type="enum" values="ImageAndText,ImageOnly,TextImageRelation,TextOnly" default="ImageAndText" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <items min-count="0" max-count="unlimited">
|
|
|
+ <item type="Button" text="" tooltip="" image="" enabled="true" visible="true" />
|
|
|
+ </items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="ContextMenuStrip" type="navigation" category="winforms-menu">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>any-control</allowed-parents>
|
|
|
+ <allowed-children>ToolStripMenuItem</allowed-children>
|
|
|
+ <container>true</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="showcheckmargin" type="bool" default="false" />
|
|
|
+ <attribute name="showimagemargin" type="bool" default="true" />
|
|
|
+ <attribute name="showitemtooltips" type="bool" default="false" />
|
|
|
+ <attribute name="renderstyle" type="enum" values="ManagerRenderMode,System,Professional" default="ManagerRenderMode" />
|
|
|
+ </attributes>
|
|
|
+ <structure>
|
|
|
+ <menu-items min-count="0" max-count="unlimited">
|
|
|
+ <menu-item text="" shortcutkeys="None" enabled="true" visible="true" checked="false" />
|
|
|
+ </menu-items>
|
|
|
+ </structure>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Numeric and Date Controls -->
|
|
|
+ <control name="NumericUpDown" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="value" type="decimal" default="0" />
|
|
|
+ <attribute name="minimum" type="decimal" default="0" />
|
|
|
+ <attribute name="maximum" type="decimal" default="100" />
|
|
|
+ <attribute name="increment" type="decimal" default="1" />
|
|
|
+ <attribute name="decimalplaces" type="int" default="0" min="0" max="99" />
|
|
|
+ <attribute name="thousandsseparator" type="bool" default="false" />
|
|
|
+ <attribute name="readonly" type="bool" default="false" />
|
|
|
+ <attribute name="interceptarrowkeys" type="bool" default="true" />
|
|
|
+ <attribute name="updownalign" type="enum" values="Left,Right" default="Right" />
|
|
|
+ <attribute name="hexadecimal" type="bool" default="false" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="Fixed3D" />
|
|
|
+ <attribute name="textalign" type="enum" values="Left,Center,Right" default="Left" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="valuechanged" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="DateTimePicker" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="value" type="datetime" default="now" />
|
|
|
+ <attribute name="format" type="enum" values="Long,Short,Time,Custom" default="Long" />
|
|
|
+ <attribute name="customformat" type="string" default="" />
|
|
|
+ <attribute name="showcheckbox" type="bool" default="false" />
|
|
|
+ <attribute name="checked" type="bool" default="true" />
|
|
|
+ <attribute name="showupdown" type="bool" default="false" />
|
|
|
+ <attribute name="mindate" type="datetime" default="1753-01-01" />
|
|
|
+ <attribute name="maxdate" type="datetime" default="9998-12-31" />
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ <attribute name="righttoleftlayout" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="valuechanged" />
|
|
|
+ <event name="formatchanged" />
|
|
|
+ <event name="dropdown" />
|
|
|
+ <event name="closeup" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="MonthCalendar" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="selectionstart" type="datetime" default="today" />
|
|
|
+ <attribute name="selectionend" type="datetime" default="today" />
|
|
|
+ <attribute name="maxselectioncount" type="int" default="7" min="1" />
|
|
|
+ <attribute name="mindate" type="datetime" default="1753-01-01" />
|
|
|
+ <attribute name="maxdate" type="datetime" default="9998-12-31" />
|
|
|
+ <attribute name="showtoday" type="bool" default="true" />
|
|
|
+ <attribute name="showtodaycircle" type="bool" default="true" />
|
|
|
+ <attribute name="showweeknumbers" type="bool" default="false" />
|
|
|
+ <attribute name="scrollchange" type="int" default="1" min="1" max="20000" />
|
|
|
+ <attribute name="firstdayofweek" type="enum" values="Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday,Default" default="Default" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="datechanged" />
|
|
|
+ <event name="dateselected" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Scroll Controls -->
|
|
|
+ <control name="TrackBar" type="input" category="winforms-input">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="value" type="int" default="0" />
|
|
|
+ <attribute name="minimum" type="int" default="0" />
|
|
|
+ <attribute name="maximum" type="int" default="10" />
|
|
|
+ <attribute name="smallchange" type="int" default="1" />
|
|
|
+ <attribute name="largechange" type="int" default="5" />
|
|
|
+ <attribute name="orientation" type="enum" values="Horizontal,Vertical" default="Horizontal" />
|
|
|
+ <attribute name="tickstyle" type="enum" values="None,TopLeft,BottomRight,Both" default="BottomRight" />
|
|
|
+ <attribute name="tickfrequency" type="int" default="1" />
|
|
|
+ <attribute name="autosize" type="bool" default="true" />
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ <attribute name="righttoleftlayout" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="valuechanged" />
|
|
|
+ <event name="scroll" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="HScrollBar" type="input" category="winforms-scroll">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="value" type="int" default="0" />
|
|
|
+ <attribute name="minimum" type="int" default="0" />
|
|
|
+ <attribute name="maximum" type="int" default="100" />
|
|
|
+ <attribute name="smallchange" type="int" default="1" />
|
|
|
+ <attribute name="largechange" type="int" default="10" />
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="valuechanged" />
|
|
|
+ <event name="scroll" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="VScrollBar" type="input" category="winforms-scroll" inherits="HScrollBar">
|
|
|
+ <attributes>
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Picture and Drawing Controls -->
|
|
|
+ <control name="PictureBox" type="display" category="winforms-display">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="image" type="image" default="null" />
|
|
|
+ <attribute name="imagelocation" type="string" default="" />
|
|
|
+ <attribute name="sizemode" type="enum" values="Normal,StretchImage,AutoSize,CenterImage,Zoom" default="Normal" />
|
|
|
+ <attribute name="borderstyle" type="enum" values="None,FixedSingle,Fixed3D" default="None" />
|
|
|
+ <attribute name="errorimage" type="image" default="null" />
|
|
|
+ <attribute name="initialimage" type="image" default="null" />
|
|
|
+ <attribute name="waitonload" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="click" />
|
|
|
+ <event name="sizechanged" />
|
|
|
+ <event name="loadcompleted" />
|
|
|
+ <event name="loadprogresschanged" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Timer Control -->
|
|
|
+ <control name="Timer" type="system" category="winforms-system">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="interval" type="int" default="100" min="1" />
|
|
|
+ <attribute name="enabled" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="tick" required="true" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- File and Directory Controls -->
|
|
|
+ <control name="OpenFileDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="filename" type="string" default="" />
|
|
|
+ <attribute name="filter" type="string" default="" />
|
|
|
+ <attribute name="filterindex" type="int" default="1" />
|
|
|
+ <attribute name="initialDirectory" type="string" default="" />
|
|
|
+ <attribute name="title" type="string" default="" />
|
|
|
+ <attribute name="multiselect" type="bool" default="false" />
|
|
|
+ <attribute name="checkfileexists" type="bool" default="true" />
|
|
|
+ <attribute name="checkpathexists" type="bool" default="true" />
|
|
|
+ <attribute name="dereferencelinks" type="bool" default="true" />
|
|
|
+ <attribute name="restoreDirectory" type="bool" default="false" />
|
|
|
+ <attribute name="showhelp" type="bool" default="false" />
|
|
|
+ <attribute name="supportmultidottedextensions" type="bool" default="false" />
|
|
|
+ <attribute name="validatenames" type="bool" default="true" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="fileok" />
|
|
|
+ <event name="helpRequest" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="SaveFileDialog" type="dialog" category="winforms-dialog" inherits="OpenFileDialog">
|
|
|
+ <attributes>
|
|
|
+ <attribute name="createprompt" type="bool" default="false" />
|
|
|
+ <attribute name="overwriteprompt" type="bool" default="true" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="FolderBrowserDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="selectedpath" type="string" default="" />
|
|
|
+ <attribute name="description" type="string" default="" />
|
|
|
+ <attribute name="shownewfolderbutton" type="bool" default="true" />
|
|
|
+ <attribute name="rootfolder" type="enum" values="Desktop,Programs,MyDocuments,Personal,Favorites,Startup,Recent,SendTo,StartMenu,MyMusic,MyVideos,DesktopDirectory,MyComputer,NetworkShortcuts,Fonts,Templates,CommonStartMenu,CommonPrograms,CommonStartup,CommonDesktopDirectory,ApplicationData,PrinterShortcuts,LocalApplicationData,InternetCache,Cookies,History,CommonApplicationData,Windows,System,ProgramFiles,MyPictures,UserProfile,SystemX86,ProgramFilesX86,CommonProgramFiles,CommonProgramFilesX86,CommonTemplates,CommonDocuments,CommonAdminTools,AdminTools,CommonMusic,CommonPictures,CommonVideos,Resources,LocalizedResources,CommonOemLinks,CDBurning" default="Desktop" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="helpRequest" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Color and Font Dialogs -->
|
|
|
+ <control name="ColorDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="color" type="color" default="Black" />
|
|
|
+ <attribute name="allowfullopen" type="bool" default="true" />
|
|
|
+ <attribute name="anycolor" type="bool" default="false" />
|
|
|
+ <attribute name="fullopen" type="bool" default="false" />
|
|
|
+ <attribute name="showhelp" type="bool" default="false" />
|
|
|
+ <attribute name="solidcoloronly" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="helpRequest" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="FontDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="font" type="font" default="Microsoft Sans Serif, 8.25pt" />
|
|
|
+ <attribute name="color" type="color" default="Black" />
|
|
|
+ <attribute name="allowscriptchange" type="bool" default="true" />
|
|
|
+ <attribute name="allowsimulations" type="bool" default="true" />
|
|
|
+ <attribute name="allowvectorfonts" type="bool" default="true" />
|
|
|
+ <attribute name="allowverticalfonts" type="bool" default="true" />
|
|
|
+ <attribute name="fixedpitchonly" type="bool" default="false" />
|
|
|
+ <attribute name="fontmustexist" type="bool" default="false" />
|
|
|
+ <attribute name="maxsize" type="int" default="0" />
|
|
|
+ <attribute name="minsize" type="int" default="0" />
|
|
|
+ <attribute name="scriptsonly" type="bool" default="false" />
|
|
|
+ <attribute name="showapply" type="bool" default="false" />
|
|
|
+ <attribute name="showcolor" type="bool" default="false" />
|
|
|
+ <attribute name="showeffects" type="bool" default="true" />
|
|
|
+ <attribute name="showhelp" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="apply" />
|
|
|
+ <event name="helpRequest" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Print Controls -->
|
|
|
+ <control name="PrintDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="allowcurrentpage" type="bool" default="false" />
|
|
|
+ <attribute name="allowpages" type="bool" default="false" />
|
|
|
+ <attribute name="allowprinttofile" type="bool" default="true" />
|
|
|
+ <attribute name="allowselection" type="bool" default="false" />
|
|
|
+ <attribute name="showhelp" type="bool" default="false" />
|
|
|
+ <attribute name="shownetwork" type="bool" default="true" />
|
|
|
+ <attribute name="useexdialog" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="helpRequest" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <control name="PrintPreviewDialog" type="dialog" category="winforms-dialog">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="autosizemode" type="enum" values="GrowOnly,GrowAndShrink" default="GrowOnly" />
|
|
|
+ <attribute name="showicon" type="bool" default="true" />
|
|
|
+ <attribute name="useantialias" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- WebBrowser Control -->
|
|
|
+ <control name="WebBrowser" type="display" category="winforms-web">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Panel,GroupBox,TabPage,Form,SplitPanel,TableLayoutPanel</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="url" type="string" default="about:blank" />
|
|
|
+ <attribute name="allownavigation" type="bool" default="true" />
|
|
|
+ <attribute name="allowwebbrowserdrop" type="bool" default="true" />
|
|
|
+ <attribute name="iswebbrowsercontextmenuenabled" type="bool" default="true" />
|
|
|
+ <attribute name="scripteerorssuppressed" type="bool" default="false" />
|
|
|
+ <attribute name="webbrowsershortcutsenabled" type="bool" default="true" />
|
|
|
+ <attribute name="scrollbarsenabled" type="bool" default="true" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="canbrowsebackchanged" />
|
|
|
+ <event name="canbrowseforwardchanged" />
|
|
|
+ <event name="documentcompleted" />
|
|
|
+ <event name="documenttitlechanged" />
|
|
|
+ <event name="encryptionlevelchanged" />
|
|
|
+ <event name="navigated" />
|
|
|
+ <event name="navigating" />
|
|
|
+ <event name="newwindow" />
|
|
|
+ <event name="progresschanged" />
|
|
|
+ <event name="statustetchanged" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Notification Controls -->
|
|
|
+ <control name="NotifyIcon" type="system" category="winforms-system">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="icon" type="icon" required="true" />
|
|
|
+ <attribute name="text" type="string" default="" />
|
|
|
+ <attribute name="visible" type="bool" default="false" />
|
|
|
+ <attribute name="balloontiptitle" type="string" default="" />
|
|
|
+ <attribute name="balloontiptext" type="string" default="" />
|
|
|
+ <attribute name="balloontipicon" type="enum" values="None,Info,Warning,Error" default="None" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="balloonTipClicked" />
|
|
|
+ <event name="balloonTipClosed" />
|
|
|
+ <event name="balloonTipShown" />
|
|
|
+ <event name="click" />
|
|
|
+ <event name="doubleclick" />
|
|
|
+ <event name="mouseclick" />
|
|
|
+ <event name="mousedoubleclick" />
|
|
|
+ <event name="mousedown" />
|
|
|
+ <event name="mousemove" />
|
|
|
+ <event name="mouseup" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Error Provider -->
|
|
|
+ <control name="ErrorProvider" type="system" category="winforms-validation">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="blinkrate" type="int" default="250" min="0" />
|
|
|
+ <attribute name="blinkstyle" type="enum" values="BlinkIfDifferentError,AlwaysBlink,NeverBlink" default="BlinkIfDifferentError" />
|
|
|
+ <attribute name="icon" type="icon" default="default-error-icon" />
|
|
|
+ <attribute name="datasource" type="object" default="null" />
|
|
|
+ <attribute name="datamember" type="string" default="" />
|
|
|
+ <attribute name="rightToLeft" type="bool" default="false" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Tooltip -->
|
|
|
+ <control name="ToolTip" type="system" category="winforms-system">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="active" type="bool" default="true" />
|
|
|
+ <attribute name="autodelay" type="int" default="500" min="0" />
|
|
|
+ <attribute name="autopop" type="int" default="5000" min="0" />
|
|
|
+ <attribute name="initialdelay" type="int" default="500" min="0" />
|
|
|
+ <attribute name="reshowdelay" type="int" default="100" min="0" />
|
|
|
+ <attribute name="showAlways" type="bool" default="false" />
|
|
|
+ <attribute name="toolTipIcon" type="enum" values="None,Info,Warning,Error" default="None" />
|
|
|
+ <attribute name="tooltiptitle" type="string" default="" />
|
|
|
+ <attribute name="useAnimation" type="bool" default="true" />
|
|
|
+ <attribute name="useFading" type="bool" default="true" />
|
|
|
+ <attribute name="istotalon" type="bool" default="true" />
|
|
|
+ </attributes>
|
|
|
+ <behavior>
|
|
|
+ <event name="draw" />
|
|
|
+ <event name="popup" />
|
|
|
+ </behavior>
|
|
|
+ </control>
|
|
|
+
|
|
|
+ <!-- Help Provider -->
|
|
|
+ <control name="HelpProvider" type="system" category="winforms-system">
|
|
|
+ <constraints>
|
|
|
+ <allowed-parents>Form</allowed-parents>
|
|
|
+ <allowed-children>none</allowed-children>
|
|
|
+ <container>false</container>
|
|
|
+ </constraints>
|
|
|
+ <attributes>
|
|
|
+ <attribute name="helpnamespace" type="string" default="" />
|
|
|
+ </attributes>
|
|
|
+ </control>
|
|
|
+
|
|
|
+</patterns>
|