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.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property Visible As Boolean
Get
Set
public bool Visible { get; set; }
public:
property bool Visible {
bool get ();
void set (bool value);
}
member Visible : bool with get, set
function get Visible () : boolean
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