Table of Contents

Property AllowDefaultContextMenu

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AllowDefaultContextMenu

Gets or sets a value indicating whether the default context menu is allowed for this control. The default value is true. This property is relevant for native controls that have a default context menu provided by the operating system. When set to false, right-clicking with the mouse does not forward the event to the native control, preventing the default context menu from appearing.

public override bool AllowDefaultContextMenu { get; set; }

Property Value

bool

true if the default context menu is allowed; otherwise, false.