点击或拖拽改变大小

DisplayQuestion 委托

Called when a question dialog needs to be displayed. You can interact with this dialog by calling PostAction() to post an answer or Dismiss() to cancel this dialog.

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public delegate Task DisplayQuestion(
	Dialog dialog,
	string title,
	string text,
	DialogQuestionType type,
	string cancelText,
	string firstActionText,
	string secondActionText,
	CancellationToken token
)

参数

dialog
类型:LibVLCSharp.SharedDialog
id used to interact with the dialog
title
类型:SystemString
title of the dialog
text
类型:SystemString
text of the dialog
type
类型:LibVLCSharp.SharedDialogQuestionType
question type (or severity) of the dialog
cancelText
类型:SystemString
text of the cancel button
firstActionText
类型:SystemString
text of the first button, if NULL, don't display this button
secondActionText
类型:SystemString
text of the second button, if NULL, don't display this button
token
类型:System.ThreadingCancellationToken
Use token to cancel operation

返回值

类型:Task
参见