VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.UI.VisualTools Namespace / VisualTool Class / DisableContextMenu Property
Syntax Requirements SeeAlso
In This Topic
    DisableContextMenu Property (VisualTool)
    In This Topic
    Gets or sets a value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.
    Syntax
    'Declaration
    
    <CategoryAttribute("Behavior")>
    <DefaultValueAttribute(True)>
    <DescriptionAttribute("A value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.")>
    Public Overridable Property DisableContextMenu As Boolean
    
    
    [Category("Behavior")]
    [DefaultValue(True)]
    [Description("A value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.")]
    public virtual bool DisableContextMenu { get; set; }
    
    
    [Category("Behavior")]
    [DefaultValue(True)]
    [Description("A value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.")]
    public: __property virtual bool get_DisableContextMenu();
    public: __property virtual void set_DisableContextMenu(
    bool value
    );
    [Category("Behavior")]
    [DefaultValue(True)]
    [Description("A value indicating whether image viewer must disable context menu in image viewer if the right mouse button is set as an action button of the visual tool.")]
    public:
    virtual property bool DisableContextMenu { bool get(); void set(bool value); }

    Property Value

    Default value is true.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also