Page 72 - Open Soource Technologies 304.indd
P. 72

Event Driven Programming



                           Enabled                 Gets/Sets a value indicating if the form is enabled

                           ImeMode                 Gets/Sets the state of an Input Method Editor
                           Data Properties         Description
                           Data Bindings           Gets the data bindings for a control
                           Tag                     Gets/Sets an object that contains data about a control

                           Design Properties       Description
                           Name                    Gets/Sets name for the form
                           Draw  Grid              Indicates whether or not to draw the positioning grid

                           GridSize                Determines the size of the positioning grid
                           Locked                  Gets/Sets whether the  form is locked
                           Snap To Grid            Indicates if the controls should snap to the positioning grid
                           Layout Properties       Description

                           Auto  Scale             Indicates if the form adjusts its size to fit the height of the font
                                                   used on the form and scales its controls

                           Auto Scroll             Indicates if the form implements autoscrolling
                           AutoScrollMargin        The margin around controls during auto scroll
                           AutoScrollMinSize       The  minimum logical size for the auto scroll region

                           DockPadding             Determines the size of the border for docked controls
                           Location                Gets/Sets the co-ordinates of the upper-left corner of the form
                           MaximumSize             The maximum size the form can be resized to
                           MinimumSize             The maximum size the form can be resized to

                           Size                    Gets/Sets size of the form in pixels
                           StartPosition           Gets/Sets the starting position of the form at run time
                           WindowState             gets/Sets the form’s window state

                           Misc Properties         Description
                           AcceptButton            Gets/Sets the button on the form that is pressed when the user
                                                   uses the enter key

                           CancelButton            Indicates the button control that is pressed when the user presses
                                                   the ESC key

                           KeyPreview              Determines whether keyboard controls on the form are regis
                                                   tered with the form
                           Language                Indicates the current localizable language





                          66                     LOVELY PROFESSIONAL UNIVERSITY
   67   68   69   70   71   72   73   74   75   76   77