DocumentDesigner.GetToolSupported(ToolboxItem) 메서드

정의

중요

이 API는 CLS 규격이 아닙니다.

지정한 도구가 디자이너에서 지원되는지 여부를 나타냅니다.

protected:
 virtual bool GetToolSupported(System::Drawing::Design::ToolboxItem ^ tool);
protected virtual bool GetToolSupported (System.Drawing.Design.ToolboxItem tool);
[System.CLSCompliant(false)]
protected virtual bool GetToolSupported (System.Drawing.Design.ToolboxItem tool);
abstract member GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
override this.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
[<System.CLSCompliant(false)>]
abstract member GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
override this.GetToolSupported : System.Drawing.Design.ToolboxItem -> bool
Protected Overridable Function GetToolSupported (tool As ToolboxItem) As Boolean

매개 변수

tool
ToolboxItem

도구 상자 지원 여부를 테스트할 ToolboxItem입니다.

반환

Boolean

도구 상자에서 이 도구를 사용하려면 true이고 문서 디자이너가 도구 사용 방법을 인식하지 않으면 false입니다.

특성

설명

도구가 지원되는 경우 디자이너가 포커스를 받을 때 도구 상자에서 사용하도록 설정됩니다. 그렇지 않으면 사용하지 않도록 설정됩니다. 도구가 사용 또는 비활성화된 것으로 표시되면 다시 쿼리할 수 없습니다.

적용 대상

추가 정보