Skip to main content

Basic Properties of Form in Visual Studio (Windows Application Form)

Visual Studio is a complete set of development tools for building ASP.NET Web applications, XML Web Services, desktop applications, and mobile applications. Visual Basic, Visual C++, Visual C#, and Visual J# all use the same integrated development environment (IDE), which allows them to share tools and facilitates in the creation of mixed-language solutions. In addition, these languages leverage the functionality of the .NET Framework, which provides access to key technologies that simplify the development of ASP Web applications and XML Web Services.

Property          Description

     Anchor            Specifies how the control behaves when its container is resized. See the next
                               section for a detailed explanation of this property.

     BackColor       The background color of a control .

     Bottom           Specifies the distance from the top of the window to the bottom of the control.
                              This is not the same as specifying the height of the control.

    Dock             Docks a control to the edges of its container. See the next section for a more
                            detailed explanation of this property.

    Enabled          Setting Enabledto trueusually means that the control can receive input from
                            the user. Setting Enabledto falseusually means that it cannot.

    ForeColor      The foreground color of the control .

   Height         The distance from the top to the bottom of the control .

    Left              The left edge of the control relative to the left edge of its container.

   Name            The name of the control. This name can be used to reference the control in code.

   Parent            The parent of the control .

    Right                The right edge of the control relative to the left edge of its container .

   TabIndex          The number the control has in the tab order of its container .

  TabStop              Specifies whether the control can be accessed by the Tab key.

   Tag                   This value is usually not used by the control itself. It enables you to store
                             information about the control on the control itself. When this property is assigned
                             a value through the Windows Forms Designer, you can only assign a string to it.

   Text                 Holds the text that is associated with this control .

   Top                  The top edge of the control relative to the top of its container.

   Visible             Specifies whether the control is visible at runtime .

   Width             The width of the control .


Comments