VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.UI.VisualTools Namespace / VisualTool Class / DisableContextMenu Property



In This Topic
    DisableContextMenu Property (VisualTool)
    In This Topic
    Gets 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
     
    <DescriptionAttribute("Indicates 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.")>
    <DefaultValueAttribute()>
    <CategoryAttribute("Behavior")>
    Public Overridable Property DisableContextMenu As Boolean
    [Description("Indicates 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.")]
    [DefaultValue()]
    [Category("Behavior")]
    public virtual bool DisableContextMenu {get; set;}
    [Description("Indicates 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.")]
    [DefaultValue()]
    [Category("Behavior")]
    public: __property virtual bool get_DisableContextMenu();
    public: __property virtual void set_DisableContextMenu( 
       bool value
    );
    [Description("Indicates 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.")]
    [DefaultValue()]
    [Category("Behavior")]
    public:
    virtual property bool DisableContextMenu {
       bool get();
       void set (    bool value);
    }

    Property Value

    Default value is true.
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also