[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Hosts custom controls or Windows Forms controls. [Property] @BackColor=Sets the background color for the item. ARG(Color)|8|DefaultBackColor @BackgroundImage=Sets the background image displayed in the control. ARG(Image)|20|(empty)|Image @BackgroundImageLayout=Sets the background image layout as defined in the ImageLayout enumeration. ARG(ImageLayout)|14|1|None,Tile,Center,Stretch,Zoom @CausesValidation=Sets a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus. ARG(bool)|14|0|True,False @Enabled=Sets a value indicating whether the parent control of the ToolStripItem is enabled. ARG(bool)|14|0|True,False @Font=Sets the font to be used on the hosted control. ARG(Font)|15| @ForeColor=Sets the foreground color of the hosted control. ARG(Color)|8|clDefault @RightToLeft=Sets a value indicating whether items are to be placed from right to left and text is to be written from right to left. ARG(RightToLeft)|20|(empty)|RightToLeft @Site=Sets the site of the hosted control. ARG(ISite)|20|(empty)|ISite @Size=Sets the size of the ToolStripItem. ARG(Size)|20|(empty)|Size @Text=Sets the text to be displayed on the hosted control. ARG(string)|2| [Methods] *doControlAlign=Sets the alignment of the control on the form. ARG(ContentAlignment)|1|0 *doFocus=Gives the focus to a control. ARG()|1|0 *doGetPreferredSize=Retrieves the size of a rectangular area into which a control can be fitted. ARG(Size constrainingSize)|1|0 *onEnter=Occurs when the hosted control is entered. ARG(EventArgs)|2|0 *onGetPreferredSize=Occurs after invoke the method doGetPreferredSize and returns the result. ARG(Size)|2|0 *onGotFocus=Occurs when the hosted control receives focus. ARG(EventArgs)|2|0 *onKeyDown=Occurs when a key is pressed and held down while the hosted control has focus. ARG(KeyEventArgs)|2|0 *onKeyPress=Occurs when a key is pressed while the hosted control has focus. ARG(KeyPressEventArgs)|2|0 *onKeyUp=Occurs when a key is released while the hosted control has focus. ARG(KeyEventArgs)|2|0 *onLeave=Occurs when the input focus leaves the hosted control. ARG(EventArgs)|2|0 *onLostFocus=Occurs when the hosted control loses focus. ARG(EventArgs)|2|0 *onValidated=Occurs after the hosted control has been successfully validated. ARG(EventArgs)|2|0 *onValidating=Occurs while the hosted control is validating. ARG(CancelEventArgs)|2|0 *BackColor=Returns the background color for the item. ARG(Color)|3|8 *BackgroundImage=Returns the background image displayed in the control. ARG(Image)|3|0 *BackgroundImageLayout=Returns the background image layout as defined in the ImageLayout enumeration. ARG(ImageLayout)|3|0 *CanSelect=Returns a value indicating whether the control can be selected. ARG(bool)|3|104 *CausesValidation=Returns a value indicating whether the hosted control causes and raises validation events on other controls when the hosted control receives focus. ARG(bool)|3|104 *Control=Returns the Control that this ToolStripControlHost is hosting. ARG(Control)|3|0 *ControlAlign=Returns the alignment of the control on the form. ARG(ContentAlignment)|3|0 *Enabled=Returns a value indicating whether the parent control of the ToolStripItem is enabled. ARG(bool)|3|104 *Focused=Returns a value indicating whether the control has input focus. ARG(bool)|3|104 *Font=Returns the font to be used on the hosted control. ARG(Font)|3|0 *ForeColor=Returns the foreground color of the hosted control. ARG(Color)|3|8 *RightToLeft=Returns a value indicating whether items are to be placed from right to left and text is to be written from right to left. ARG(RightToLeft)|3|0 *Selected=Returns a value indicating whether the item is selected. ARG(bool)|3|104 *Site=Returns the site of the hosted control. ARG(ISite)|3|0 *Size=Returns the size of the ToolStripItem. ARG(Size)|3|0 *Text=Returns the text to be displayed on the hosted control. ARG(string)|3|2 *constrainingSize=Defines the custom-sized area for a control. ARG(Size)|4|0