Leadtools.Medical3D Namespace > Medical3DControl Class : CanExecuteAction Method |
public override bool CanExecuteAction( MedicalViewerActionType actionType )
'Declaration Public Overrides Function CanExecuteAction( _ ByVal actionType As MedicalViewerActionType _ ) As Boolean
'Usage Dim instance As Medical3DControl Dim actionType As MedicalViewerActionType Dim value As Boolean value = instance.CanExecuteAction(actionType)
public: bool CanExecuteAction( MedicalViewerActionType actionType ) override
To enable the Action, use the Leadtools.MedicalViewer.MedicalViewerBaseCell.AddAction(Leadtools.MedicalViewer.MedicalViewerActionType) method to add the action to the Medical3DControl. Then use the Leadtools.MedicalViewer.MedicalViewerBaseCell.SetAction(Leadtools.MedicalViewer.MedicalViewerActionType,Leadtools.MedicalViewer.MedicalViewerMouseButtons,Leadtools.MedicalViewer.MedicalViewerActionFlags) to associate the action with a mouse button.