A special case is when there is only one child control, in which case the control is sized to fill the entire parent composite.
一种特殊情况是:在仅有一个子控件时,该控件的大小被设置为填充整个父复合控件的大小。
The rest of the markup, then, is rather pedestrian: the "s:Application" tag describes that this is an application, and it contains a single child control, the "s:Button".
其余的标记比较简单明了:"s:Application"标签说明这是一个应用程序,它包含一个子控件"s:Button"。
Retrieves the index of the specified child control within the control collection.
检索控件集合内的指定子控件的索引。
The child control calls this method before generating any keyboard events for the message.
在为消息生成任何键盘事件之前,子控件会调用该方法。
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
检索位于指定坐标的子控件,并且指定是否忽略特定类型的子控件。
An example where this can occur is when you set the focus on a user control instead of setting the focus on a child control of the user control.
例如,当在用户控件上而不是用户控件的子控件上设置焦点时,将会发生这种情况。
Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection.
撷取控制项集合中指定之子控制项的索引。如果指定的控制项不在控制项集合中,则选择性引发例外状况。
The framework calls this member function when the user selects an item from a menu, when a child control sends a notification message, or when an accelerator keystroke is translated.
当用户从菜单中选择了一项,或者子控件发出一个通知消息,或者转换了一个加速键的击键事件,框架就调用这个成员函数。
The framework calls this member function when the user selects an item from a menu, when a child control sends a notification message, or when an accelerator keystroke is translated.
当用户从菜单中选择了一项,或者子控件发出一个通知消息,或者转换了一个加速键的击键事件,框架就调用这个成员函数。
应用推荐