DocumentDesigner.GetToolSupported(ToolboxItem) 메서드

정의

Important

이 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 .

반품

true 도구 상자에서 도구를 사용하도록 설정해야 하는 경우 false 문서 디자이너에서 도구를 사용하는 방법을 모를 경우

특성

설명

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

적용 대상

추가 정보