C# 클래스 TaskDialogInterop.TaskDialogOptions

Defines configuration options for showing a task dialog.
파일 보기 프로젝트 열기: Euclideon/WPF-Task-Dialog 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllowDialogCancellation bool
Callback TaskDialogCallback
CallbackData object
CollapsedControlText string
CommandButtons string[]
CommonButtons TaskDialogCommonButtons
Content string
CustomButtons string[]
CustomFooterIcon System.Drawing.Icon
CustomMainIcon System.Drawing.Icon
Default TaskDialogOptions
DefaultButtonIndex int?
EnableCallbackTimer bool
ExpandToFooter bool
ExpandedByDefault bool
ExpandedControlText string
ExpandedInfo string
FooterIcon VistaTaskDialogIcon
FooterText string
MainIcon VistaTaskDialogIcon
MainInstruction string
Owner System.Windows.Window
RadioButtons string[]
ShowMarqueeProgressBar bool
ShowProgressBar bool
Title string
VerificationByDefault bool
VerificationText string

프로퍼티 상세

AllowDialogCancellation 공개적으로 프로퍼티

Indicates that the dialog should be able to be closed using Alt-F4, Escape, and the title bar's close button even if no cancel button is specified the CommonButtons.
You'll want to set this to true if you use CustomButtons and have a Cancel-like button in it.
public bool AllowDialogCancellation
리턴 bool

Callback 공개적으로 프로퍼티

A callback that receives messages from the Task Dialog when various events occur.
public TaskDialogCallback Callback
리턴 TaskDialogCallback

CallbackData 공개적으로 프로퍼티

Reference object that is passed to the callback.
public object CallbackData
리턴 object

CollapsedControlText 공개적으로 프로퍼티

The string to be used to label the button for expanding the expanded information. This member is ignored when the ExpandedInfo member is null. If this member is null and the ExpandedControlText is specified, then the ExpandedControlText value will be used for this member as well.
public string CollapsedControlText
리턴 string

CommandButtons 공개적으로 프로퍼티

Command link buttons.
public string[] CommandButtons
리턴 string[]

CommonButtons 공개적으로 프로퍼티

Standard buttons.
public TaskDialogCommonButtons CommonButtons
리턴 TaskDialogCommonButtons

Content 공개적으로 프로퍼티

Supplemental text that expands on the principal text.
public string Content
리턴 string

CustomButtons 공개적으로 프로퍼티

Buttons that are not from the set of standard buttons. Use an ampersand to denote an access key.
public string[] CustomButtons
리턴 string[]

CustomFooterIcon 공개적으로 프로퍼티

A small 16x16 icon that signifies the purpose of the footer text, using a custom Icon resource. If defined FooterIcon will be ignored.
public Icon,System.Drawing CustomFooterIcon
리턴 System.Drawing.Icon

CustomMainIcon 공개적으로 프로퍼티

A large 32x32 icon that signifies the purpose of the dialog, using a custom Icon resource. If defined MainIcon will be ignored.
public Icon,System.Drawing CustomMainIcon
리턴 System.Drawing.Icon

Default 공개적으로 정적으로 프로퍼티

The default T:TaskDialogOptions to be used by all new T:TaskDialogs.
Use this to make application-wide defaults, such as for the caption.
public static TaskDialogOptions,TaskDialogInterop Default
리턴 TaskDialogOptions

DefaultButtonIndex 공개적으로 프로퍼티

Zero-based index of the button to have focus by default.
public int? DefaultButtonIndex
리턴 int?

EnableCallbackTimer 공개적으로 프로퍼티

Indicates that the task dialog's callback is to be called approximately every 200 milliseconds.
Enable this in order to do updates on the task dialog periodically, such as for a progress bar, current download speed, or estimated time to complete, etc.
public bool EnableCallbackTimer
리턴 bool

ExpandToFooter 공개적으로 프로퍼티

Indicates that the expanded info should be displayed at the bottom of the dialog's footer area instead of immediately after the dialog's content.
public bool ExpandToFooter
리턴 bool

ExpandedByDefault 공개적으로 프로퍼티

Indicates that the expanded info should be displayed when the dialog is initially displayed.
public bool ExpandedByDefault
리턴 bool

ExpandedControlText 공개적으로 프로퍼티

The string to be used to label the button for collapsing the expanded information. This member is ignored when the ExpandedInfo member is null. If this member is null and the CollapsedControlText is specified, then the CollapsedControlText value will be used for this member as well.
public string ExpandedControlText
리턴 string

ExpandedInfo 공개적으로 프로퍼티

Extra text that will be hidden by default.
public string ExpandedInfo
리턴 string

FooterIcon 공개적으로 프로퍼티

A small 16x16 icon that signifies the purpose of the footer text, using one of the built-in system icons.
public VistaTaskDialogIcon FooterIcon
리턴 VistaTaskDialogIcon

FooterText 공개적으로 프로퍼티

Additional footer text.
public string FooterText
리턴 string

MainIcon 공개적으로 프로퍼티

A large 32x32 icon that signifies the purpose of the dialog, using one of the built-in system icons.
public VistaTaskDialogIcon MainIcon
리턴 VistaTaskDialogIcon

MainInstruction 공개적으로 프로퍼티

Principal text.
public string MainInstruction
리턴 string

Owner 공개적으로 프로퍼티

The owner window of the task dialog box.
public System.Windows.Window Owner
리턴 System.Windows.Window

RadioButtons 공개적으로 프로퍼티

Application-defined options for the user.
public string[] RadioButtons
리턴 string[]

ShowMarqueeProgressBar 공개적으로 프로퍼티

Indicates that an Marquee Progress Bar is to be displayed.
You can set start and stop the animation by setting a callback and timer to control the dialog at custom intervals.
public bool ShowMarqueeProgressBar
리턴 bool

ShowProgressBar 공개적으로 프로퍼티

Indicates that a Progress Bar is to be displayed.
You can set the state, whether paused, in error, etc., as well as the range and current value by setting a callback and timer to control the dialog at custom intervals.
public bool ShowProgressBar
리턴 bool

Title 공개적으로 프로퍼티

Caption of the window.
public string Title
리턴 string

VerificationByDefault 공개적으로 프로퍼티

Indicates that the verification checkbox in the dialog is checked when the dialog is initially displayed.
public bool VerificationByDefault
리턴 bool

VerificationText 공개적으로 프로퍼티

Text accompanied by a checkbox, typically for user feedback such as Do-not-show-this-dialog-again options.
public string VerificationText
리턴 string