Buttons in C#



•A button is a control that the user clicks to trigger a specific action or to select an option in a program. 


•As you’ll see, a program can use several types of buttons, such as checkboxes and radio buttons. All the button classes derive from class ButtonBase.

•Button, typically enables a user to issue a command to an application.



Button Properties


Font: Gets or sets the font of the text displayed by the control.

ForeColor: Gets or sets the foreground color of the control.

Location: Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

Name: Gets or sets the name of the control.

Padding: Gets or sets padding within the control.

TextAlign: Gets or sets the alignment of the text on the button control.

Visible: Gets or sets a value indicating whether the control and all its child controls are displayed.

Margin: Gets or sets the space between controls.

Enabled: Gets or sets a value indicating whether the control can respond to user interaction.

1 comment:

  1. JTG Casino Resort opens in Henderson - KTNV
    The JTG Casino Resort opened its doors 제주 출장안마 in the resort's 논산 출장마사지 casino 충주 출장안마 just a few months after Wynn Resorts 태백 출장마사지 announced it would 전라북도 출장안마 be expanding its casino

    ReplyDelete