ControlExtensions.Content method (1 of 7)
이 콘텐츠는 아직 번역되지 않았습니다.
Sets the content element.
public static TabItem Content(this TabItem tab, Element content)| parameter | description |
|---|---|
| tab | Target tab item. |
| content | Content element. |
Return Value
Section titled “Return Value”The tab item for chaining.
Sets: ContentControl.Content, TabItem.Content
See Also
Section titled “See Also”- class TabItem
- class Element
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content method (2 of 7)
Section titled “ControlExtensions.Content method (2 of 7)”Sets the button content to a centered text label. When accessKey is true (default), “_” prefixes mark access key characters (e.g., “_Save” registers Alt+S).
public static Button Content(this Button button, string text, bool accessKey = true)| parameter | description |
|---|---|
| button | Target button. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The button for chaining.
See Also
Section titled “See Also”- class Button
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content method (3 of 7)
Section titled “ControlExtensions.Content method (3 of 7)”Sets the content to a text label. When accessKey is true (default), “_” prefixes mark access key characters (e.g., “_Remember me” registers Alt+R).
public static CheckBox Content(this CheckBox checkBox, string text, bool accessKey = true)| parameter | description |
|---|---|
| checkBox | Target check box. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The check box for chaining.
See Also
Section titled “See Also”- class CheckBox
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content method (4 of 7)
Section titled “ControlExtensions.Content method (4 of 7)”Sets the drop-down button content to a centered text label. When accessKey is true (default), “_” prefixes mark access key characters (e.g., “_Export” registers Alt+E).
public static DropDownButton Content(this DropDownButton button, string text, bool accessKey = true)| parameter | description |
|---|---|
| button | Target drop-down button. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The drop-down button for chaining.
See Also
Section titled “See Also”- class DropDownButton
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content method (5 of 7)
Section titled “ControlExtensions.Content method (5 of 7)”Sets the split button content to a centered text label. When accessKey is true (default), “_” prefixes mark access key characters (e.g., “_Save” registers Alt+S).
public static SplitButton Content(this SplitButton button, string text, bool accessKey = true)| parameter | description |
|---|---|
| button | Target split button. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The split button for chaining.
See Also
Section titled “See Also”- class SplitButton
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content method (6 of 7)
Section titled “ControlExtensions.Content method (6 of 7)”Sets the content to a centered text label. When accessKey is true (default), “_” prefixes mark access key characters.
public static ToggleButton Content(this ToggleButton toggleButton, string text, bool accessKey = true)| parameter | description |
|---|---|
| toggleButton | Target toggle button. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The toggle button for chaining.
See Also
Section titled “See Also”- class ToggleButton
- class ControlExtensions
- namespace Aprillz.MewUI.Controls
ControlExtensions.Content<T> method (7 of 7)
Section titled “ControlExtensions.Content<T> method (7 of 7)”Sets the content to a text label. When accessKey is true (default), “_” prefixes mark access key characters (e.g., “_Save” registers Alt+S).
public static T Content<T>(this T control, string text, bool accessKey = true) where T : ToggleBase| parameter | description |
|---|---|
| T | Toggle control type. |
| control | Target toggle control. |
| text | Content text. |
| accessKey | Whether underscore prefixes define access keys. |
Return Value
Section titled “Return Value”The control for chaining.
See Also
Section titled “See Also”- class ToggleBase
- class ControlExtensions
- namespace Aprillz.MewUI.Controls