C# 클래스 FirstFloor.ModernUI.Windows.Controls.ModernDialog

Represents a Modern UI styled dialog window.
상속: DpiAwareWindow
파일 보기 프로젝트 열기: gro-ove/actools 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BackgroundContentProperty System.Windows.DependencyProperty
ButtonsProperty System.Windows.DependencyProperty
ButtonsRowContentProperty System.Windows.DependencyProperty
IconSourceProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
CreateCloseDialogButton ( string content, bool isDefault, bool isCancel, MessageBoxResult result, ICommand command = null ) : System.Windows.Controls.Button
CreateExtraDialogButton ( string content, System.Action action ) : System.Windows.Controls.Button
CreateExtraDialogButton ( string content, System.Action action, Func canExecute ) : System.Windows.Controls.Button
CreateExtraDialogButton ( string content, ICommand command, bool isDefault = false ) : System.Windows.Controls.Button
CreateExtraStyledDialogButton ( [ styleKey, string content, System.Action action, Func canExecute = null ) : System.Windows.Controls.Button
CreateExtraStyledDialogButton ( string styleKey, string content, ICommand command ) : System.Windows.Controls.Button
CreateStyledCloseDialogButton ( string styleKey, string content, bool isDefault, bool isCancel, MessageBoxResult result, System.Action action = null ) : System.Windows.Controls.Button
ModernDialog ( ) : System

Initializes a new instance of the ModernDialog class.

ShowMessage ( string text ) : MessageBoxResult
ShowMessage ( string text, string title, MessageBoxButton button, Window owner = null ) : MessageBoxResult

Displays a messagebox.

보호된 메소드들

메소드 설명
CloseWithResult ( MessageBoxResult result ) : void

비공개 메소드들

메소드 설명
GetButtons ( ModernDialog owner, MessageBoxButton button ) : IEnumerable

메소드 상세

CloseWithResult() 보호된 메소드

protected CloseWithResult ( MessageBoxResult result ) : void
result MessageBoxResult
리턴 void

CreateCloseDialogButton() 공개 메소드

public CreateCloseDialogButton ( string content, bool isDefault, bool isCancel, MessageBoxResult result, ICommand command = null ) : System.Windows.Controls.Button
content string
isDefault bool
isCancel bool
result MessageBoxResult
command ICommand
리턴 System.Windows.Controls.Button

CreateExtraDialogButton() 공개 정적인 메소드

public static CreateExtraDialogButton ( string content, System.Action action ) : System.Windows.Controls.Button
content string
action System.Action
리턴 System.Windows.Controls.Button

CreateExtraDialogButton() 공개 정적인 메소드

public static CreateExtraDialogButton ( string content, System.Action action, Func canExecute ) : System.Windows.Controls.Button
content string
action System.Action
canExecute Func
리턴 System.Windows.Controls.Button

CreateExtraDialogButton() 공개 정적인 메소드

public static CreateExtraDialogButton ( string content, ICommand command, bool isDefault = false ) : System.Windows.Controls.Button
content string
command ICommand
isDefault bool
리턴 System.Windows.Controls.Button

CreateExtraStyledDialogButton() 공개 메소드

public CreateExtraStyledDialogButton ( [ styleKey, string content, System.Action action, Func canExecute = null ) : System.Windows.Controls.Button
styleKey [
content string
action System.Action
canExecute Func
리턴 System.Windows.Controls.Button

CreateExtraStyledDialogButton() 공개 메소드

public CreateExtraStyledDialogButton ( string styleKey, string content, ICommand command ) : System.Windows.Controls.Button
styleKey string
content string
command ICommand
리턴 System.Windows.Controls.Button

CreateStyledCloseDialogButton() 공개 메소드

public CreateStyledCloseDialogButton ( string styleKey, string content, bool isDefault, bool isCancel, MessageBoxResult result, System.Action action = null ) : System.Windows.Controls.Button
styleKey string
content string
isDefault bool
isCancel bool
result MessageBoxResult
action System.Action
리턴 System.Windows.Controls.Button

ModernDialog() 공개 메소드

Initializes a new instance of the ModernDialog class.
public ModernDialog ( ) : System
리턴 System

ShowMessage() 공개 정적인 메소드

public static ShowMessage ( string text ) : MessageBoxResult
text string
리턴 MessageBoxResult

ShowMessage() 공개 정적인 메소드

Displays a messagebox.
public static ShowMessage ( string text, string title, MessageBoxButton button, Window owner = null ) : MessageBoxResult
text string The text.
title string The title.
button MessageBoxButton The button.
owner System.Windows.Window The window owning the messagebox. The messagebox will be located at the center of the owner.
리턴 MessageBoxResult

프로퍼티 상세

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

Identifies the BackgroundContent dependency property.
public static DependencyProperty,System.Windows BackgroundContentProperty
리턴 System.Windows.DependencyProperty

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

Identifies the Buttons dependency property.
public static DependencyProperty,System.Windows ButtonsProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows ButtonsRowContentProperty
리턴 System.Windows.DependencyProperty

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

public static DependencyProperty,System.Windows IconSourceProperty
리턴 System.Windows.DependencyProperty