UICommandAttrs Enumeration |
Modifier flags for UI commands.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax [ValidBitsAttribute(1065295679)]
[FlagsAttribute]
public enum UICommandAttrs
<ValidBitsAttribute(1065295679)>
<FlagsAttribute>
Public Enumeration UICommandAttrs
Members
| Member name | Value | Description |
---|
| Disabled | 1 | The command should appear disabled. Disabled commands are normally presented in the UI, but cannot be clicked. |
| Checked | 2 | The command should be shown checked (selected). |
| Popup | 4 | The target page should be displayed in a new window. |
| Hidden | 8 | The item should be unavailable to the user unless unhidden programmatically. |
| ForceLocation | 16 | The item should be forced to its declared location even when menus are being consolidated (e.g. for mobile). |
| Glyph | 32 | The image is a glyph. |
| AllowPostBack | 256 | Allow a postback on the execution of the command. (This applies even when script is provided.) |
| RequireSelection | 512 | Require one or more records to be selected. |
| RequireOneSelection | 1024 | Require exactly one record to be selected. |
| SelectiveText | 2048 | This item's icon may not be obvious, show text when Selective Text is desired. |
| TooltipHelp | 4096 | This item's tooltip provides general help and should be made more prominent to the user. |
| Divider | 65536 | The command is a divider. |
| Standard | 131072 | Item is part of the standard platform functionality. |
| AjaxClick | 262144 | Use AJAX to execute the command invocation on the server instead of posting the page back. |
| InContentFrame | 524288 | Render result into the main Content frame. Applies primarily to QuickLinks. |
| Requery | 1048576 | The command handler affects the page's underlying table/view and so a post-command requery is needed. |
| ParentCommand | 2097152 | This is the parent element for a submenu. |
| ChangesFiltering | 4194304 | Do not apply mapper filters and requery before firing this command because the command will change the filtering. |
| NewOnly | 16777216 | Applies to new records only (opposite of ExistingOnly). |
| ExistingOnly | 33554432 | Applies to existing records only (opposite of NewOnly). |
| AddRowKey | 67108864 | Add the RowKey for the current record to this item's URL. |
| NavNew | 134217728 | This command causes navigation to a new item page. |
| NoRowKey | 268435456 | Do not add the RowKey for the current record to this item's URL (overrides AddRowKey). |
| reserved31 | 1073741824 | Do not use. Used in NavBarAttrsMask to prevent that item's use in enum.ToString(). |
| DisabledOnClick | 536870912 | The button should be disabled after being clicked (currently supported on commands that post back, have custom script, or perform ajax requests). |
| NavBarAttrsMask | 1207959552 |
Mask identifying the subset of attributes available in meta-data for NavBars (vs. Menus).
Note that this is intended for use by the Studio and not generally very useful in an application.
Note that reserved31 is included because if the mask has only 1 bit it may be used by enum.ToString().
|
See Also