MenuAction.Visible Property
Gets or sets a value indicating whether the item is displayed in the menu.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Property Visible As Boolean
'Usage
Dim instance As MenuAction
Dim value As Boolean
value = instance.Visible
instance.Visible = value
public bool Visible { get; set; }
public:
property bool Visible {
bool get ();
void set (bool value);
}
public function get Visible () : boolean
public function set Visible (value : boolean)
Property Value
Type: System.Boolean
true if the action is displayed in the menu; otherwise, false. The default is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace
PrimarySelectionContextMenuProvider