23. C #: Window Properties and Events

Source: Internet
Author: User

In C # language programming, each graphical component has its own properties, methods, and events. As easy as language. We learn easy language, use Chinese, a look will know. However,the properties, methods, and events of theC # language are in English. Many times, because do not know the meaning of English words, we have to give up learning.

Here, I will give A detailed explanation of the properties of the Windows in C # and the English translation of the events.

Attributes are categorized, I write the name of the classification first, and then write the property name below:

Accessibility: accessible

AccessibleDescription:: Accessible Description

AccessibleName: Accessible name

AccessibleRole: Accessible roles


Appearance: profile

BackColor: Background color

BackgroundImage: Background image

BackgroundImageLayout: background picture layout

cursor: Cursors

Font: Fonts

FontColor: Font Color

Fontborderstyle: font border Style

RightToLeft: From right to left

RightToLeftLayout: Right-to-left layout

Text: Title

Usewaitcusor: User wait cursor


Behavior: Behavior

AllowDrop: Allow drag and drop

Autovalidate: Automatic validation

ContextMenuStrip: Context menu bar

DoubleBuffered: double buffering

Enabled: Available

ImeMode: IME mode


Data:

DataBindings Data Binding

Tag: Tag


Design: Designing

Name: Title

Language: language

Lacalizable: localization

Locked: Lock

Focus: Spotlight

CausesValidation: whether to trigger validation


Layout: layouts

AutoScaleMode: Auto-zoom mode

AutoScroll: automatic scrolling

Autoscrollmargin: Auto-scrolling margin

AutoScrollMinSize: Auto Scroll minimum size

AutoSize: Auto Size

AutoSizeMode: Auto Size mode

Location: Locations

MaximumSize: Maximum size

MinimumSize: Minimum size

Padding: Layout

Size: sizes

StartPosition: Start start position

WindowState: window status


Misc: Miscellaneous

AcceptButton: Accept button

CancelButton: Cancel button

KeyPreview: key Preview

WindowStyle: window style

ControlBox: control button Group

HelpButton: Help button

Icon: icons

IsMdiContainer: Is not an MDI container

Mainmenustrip: Main Course

MaximizeBox: Maximize button

MinimizeBox: Minimize button

Opacity: Opacity

Showicon: Display icon

ShowInTaskbar: Show in Taskbar

Sizegripstyle: size handle Style

Topmost: is the topmost element

TransparencyKey: Transparent Color


There are also many events:

Action: Behavior

Click :

DoubleClick: Double-click

Mousecapturechanged: mouse capture Changes

MouseClick: Mouse click

MouseDoubleClick: Mouse Double-click

ResizeBegin: Reset Dimension Start

Resizeend: Reset Dimension End

Scroll: scrolling

Appearance: profile

Paint: Redraw

Behavior: Behavior

Changeuicues: Changing the interface hint

controladded: control has been added

Controlremoved: control has been removed

formclosed: window is closed

FormClosing: window ready to close

Helpbuttonclicked: The Help button has been clicked

Helprequested: help has been requested

Imemodechanged: IME mode changed

Inputlanguagechanged: input language has changed

Inputlanguagechanging: Input language Preparation changes

Load: loading

QUERYACCESSIBILITYHELP: query Access Help

Shown: Show

Stylechanged: style changed

Systemcolorschanged: system color Change

Data :

DataBindings: Data binding

Drag drop: drag and Drop

DragDrop: Drag and Drop

DragEnter: Drag and drop into

DragLeave: Drag and drop away

DragOver: Drag and drop through

GiveFeedback Giving Feedback

QueryContinueDrag: query continues dragging

Focus: Spotlight

Activated: Events

Deactivate: Inactive

Enter: Enter

Leave: Leave

Validated: verified

Validating: in Validation

Key:

KeyDown: Press the button

KeyUp: Press the button to lift up

KeyPress: Key

Previewkeydown: The preview key is pressed

Layout: layouts

Layout: layouts

Mdichildactivate MDI child window behavior

Move: Mobile

Paddingchanged: Border Changes

Resize: Reset Size

Mouse:

MouseDown: mouse button down

MouseEnter: Mouse Access

MouseHover: Mouse hovering

MouseLeave: Mouse Away

MouseMove: Mouse Movement

MouseUp: The mouse lifts up



This article is from the "Smile" blog, please be sure to keep this source http://yiyiweixiao.blog.51cto.com/2476874/1971464

23. C #: Window Properties and Events

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.