|
Window Framework for UI Toolkit Scripting v1.3.0
|
Used to define the items that will be displayed in the context menu. More...
Public Member Functions | |
| ContextMenuItem () | |
| Create a menu seperator in the menu. | |
| ContextMenuItem (bool isSeparator=true, string label=null, Action action=null, Func< bool > isVisible=null, Func< bool > isDisabled=null, Func< bool > isChecked=null, Object userData=null) | |
| Context Menu Default implementation with all possible options. | |
| ContextMenuItem (string label, Action action=null) | |
| Represents an individual item in a context menu, providing the label and action. | |
| ContextMenuItem (string label, Action action=null, Func< bool > isVisible=null) | |
| Represents an item in a context menu, including its label, action to be performed, and visibility logic. | |
| ContextMenuItem (string label, Action action=null, Func< bool > isVisible=null, Func< bool > isDisabled=null) | |
| ContextMenuItem (string label, Action action=null, Func< bool > isVisible=null, Func< bool > isDisabled=null, Func< bool > isChecked=null) | |
| Represents an item in a context menu, providing its display label, associated action, and optional logic for visibility, enablement, and selection state. | |
| ContextMenuItem (string label, Action action=null, Func< bool > isVisible=null, Func< bool > isDisabled=null, Func< bool > isChecked=null, Object userData=null) | |
| Represents an item in a context menu, providing its display label, associated action, and optional logic for visibility, enablement, and selection state. | |
Public Attributes | |
| Action | Action |
| Func< bool > | IsChecked |
| Func< bool > | IsDisabled |
| bool | IsSeparator |
| Func< bool > | IsVisible |
| string | Label |
| Object | UserData |
Used to define the items that will be displayed in the context menu.
|
inline |
Represents an individual item in a context menu, providing the label and action.
| label | Text to display in the menu |
| action | Action to Invoke when activated |
|
inline |
Represents an item in a context menu, including its label, action to be performed, and visibility logic.
| label | Text to display in the menu |
| action | Action to Invoke when activated |
| isVisible | Bool Func - Should the item be displayed undercurrent conditions |
|
inline |
| label | Text to display in the menu |
| action | Action to Invoke when activated |
| isVisible | Bool Func - Should the item be displayed undercurrent conditions |
| isDisabled | Bool Func - Show the item but in a disabled state based on data |
|
inline |
Represents an item in a context menu, providing its display label, associated action, and optional logic for visibility, enablement, and selection state.
| label | Text to display in the menu |
| action | Action to Invoke when activated |
| isVisible | Bool Func - Should the item be displayed undercurrent conditions |
| isDisabled | Bool Func - Show the item but in a disabled state based on data |
| isChecked | Bool Func - Show a check mark next to the item in the menu |
|
inline |
Represents an item in a context menu, providing its display label, associated action, and optional logic for visibility, enablement, and selection state.
| label | Text to display in the menu |
| action | Action to Invoke when activated |
| isVisible | Bool Func - Should the item be displayed undercurrent conditions |
| isDisabled | Bool Func - Show the item but in a disabled state based on data |
| isChecked | Bool Func - Show a check mark next to the item in the menu |
| userData | Optional user data object to store in the userdata container of the visual element |
|
inline |
Create a menu seperator in the menu.
|
inline |
Context Menu Default implementation with all possible options.
| isSeparator | Make the item as a seperator |
| label | Text to display in the menu |
| action | Action to Invoke when activated |
| isVisible | Bool Func - Should the item be displayed undercurrent conditions |
| isDisabled | Bool Func - Show the item but in a disabled state based on data |
| isChecked | Bool Func - Show a check mark next to the item in the menu |
| userData | Optional user data object to store in the userdata container of the visual element |
| Action GWG.WindowFramework.ContextMenuItem.Action |
| Func<bool> GWG.WindowFramework.ContextMenuItem.IsChecked |
| Func<bool> GWG.WindowFramework.ContextMenuItem.IsDisabled |
| bool GWG.WindowFramework.ContextMenuItem.IsSeparator |
| Func<bool> GWG.WindowFramework.ContextMenuItem.IsVisible |
| string GWG.WindowFramework.ContextMenuItem.Label |
| Object GWG.WindowFramework.ContextMenuItem.UserData |