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 override bool CanExecuteAction( MedicalViewerActionType actionType )
function Leadtools.Medical3D.Medical3DControl.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.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2