Click or drag to resize

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
Members
  Member nameValueDescription
Disabled1The command should appear disabled. Disabled commands are normally presented in the UI, but cannot be clicked.
Checked2The command should be shown checked (selected).
Popup4The target page should be displayed in a new window.
Hidden8The item should be unavailable to the user unless unhidden programmatically.
ForceLocation16The item should be forced to its declared location even when menus are being consolidated (e.g. for mobile).
Glyph32The image is a glyph.
AllowPostBack256Allow a postback on the execution of the command. (This applies even when script is provided.)
RequireSelection512Require one or more records to be selected.
RequireOneSelection1024Require exactly one record to be selected.
SelectiveText2048This item's icon may not be obvious, show text when Selective Text is desired.
TooltipHelp4096This item's tooltip provides general help and should be made more prominent to the user.
Divider65536The command is a divider.
Standard131072Item is part of the standard platform functionality.
AjaxClick262144Use AJAX to execute the command invocation on the server instead of posting the page back.
InContentFrame524288Render result into the main Content frame. Applies primarily to QuickLinks.
Requery1048576The command handler affects the page's underlying table/view and so a post-command requery is needed.
ParentCommand2097152This is the parent element for a submenu.
ChangesFiltering4194304Do not apply mapper filters and requery before firing this command because the command will change the filtering.
NewOnly16777216Applies to new records only (opposite of ExistingOnly).
ExistingOnly33554432Applies to existing records only (opposite of NewOnly).
AddRowKey67108864Add the RowKey for the current record to this item's URL.
NavNew134217728This command causes navigation to a new item page.
NoRowKey268435456Do not add the RowKey for the current record to this item's URL (overrides AddRowKey).
reserved311073741824Do not use. Used in NavBarAttrsMask to prevent that item's use in enum.ToString().
DisabledOnClick536870912The button should be disabled after being clicked (currently supported on commands that post back, have custom script, or perform ajax requests).
NavBarAttrsMask1207959552 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