ArcFM Desktop Developer Guide
Visible Property (Command)


Version: 10.2.1b and 10.2.1b SP1

Resource Center Home

Returns/sets whether the Command is visible.
Syntax
'Declaration
 
Public Property Visible As Boolean
'Usage
 
Dim instance As Command
Dim value As Boolean
 
instance.Visible = value
 
value = instance.Visible
public bool Visible {get; set;}
Remarks
Both the "root" Command and each of its associated "instance" Commands have a Visible property. The "root" Command Visible property will define the visible property of all "instance" Commands that do not have their visible property defined (i.e., the "instance" command Visible value is set to Infragistics DefaultableBoolean.Default value). A particular "instance" Command can override the "root" Command visible property by setting its own Visible property to true or false. For example, the map Highlight button appears on both the main toolbar and on various context menus. The button should always be shown on the toolbar (and disabled when appropriate). The button should only be shown on a context menu when appropriate. The "root" Command Visible property is always set to true. The "instance" Command Visible property for the context menu item is set to true or false as appropriate for showing the menu item.
Requirements

Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)

Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.

See Also

Reference

Command Class
Command Members

 

 


Send Comment