EnableMenu Property (GdViewer)
Enables or disables displaying the contextual menu in the GdViewer control.
public bool EnableMenu {get; set;}
public read-write property EnableMenu: Boolean;
public function get,set EnableMenu : boolean
public: __property bool get_EnableMenu();
public: __property void set_EnableMenu(
bool value
);
public:
property bool EnableMenu {
bool get();
void set ( bool value);
}
'Declaration
Public Property EnableMenu As Boolean
Property Value
The default value is true.
How to disable the contextual menu in the control.
'We assume that the GdViewer1 control has been properly integrated.
GdViewer1.EnableMenu = False
//We assume that the GdViewer1 control has been properly integrated.
GdViewer1.EnableMenu = false;