DragDropHelper.AllowDrop(IDataObject, EditingContext, Type[]) 메서드

정의

디자이너에서 사용자가 끌어온 데이터를 허용할 수 있는지 여부를 나타냅니다.

public:
 static bool AllowDrop(System::Windows::IDataObject ^ draggedDataObject, System::Activities::Presentation::EditingContext ^ context, ... cli::array <Type ^> ^ allowedItemTypes);
public static bool AllowDrop(System.Windows.IDataObject draggedDataObject, System.Activities.Presentation.EditingContext context, params Type[] allowedItemTypes);
static member AllowDrop : System.Windows.IDataObject * System.Activities.Presentation.EditingContext * Type[] -> bool
Public Shared Function AllowDrop (draggedDataObject As IDataObject, context As EditingContext, ParamArray allowedItemTypes As Type()) As Boolean

매개 변수

draggedDataObject
IDataObject

끌 데이터 개체입니다.

context
EditingContext

EditingContext 에 대한 것입니다DragDropHelper.

allowedItemTypes
Type[]

끌 수 있는 형식입니다.

반품

true디자이너에서 끌어서 놓기 작업이 허용되는 경우 그렇지 않으면 . false

적용 대상