C# 클래스 Catel.Windows.DataWindowButton

Information for a button that should be generated.
파일 보기 프로젝트 열기: Catel/Catel 1 사용 예제들

공개 메소드들

메소드 설명
DataWindowButton ( string text, ICommand command ) : System

Initializes a new instance of the DataWindowButton class.

DataWindowButton ( string text, ICommand command, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : System

Initializes a new instance of the DataWindowButton class.

Text is ignored when contentBindingPath is set.

DataWindowButton ( string text, string commandBindingPath ) : System

Initializes a new instance of the DataWindowButton class.

DataWindowButton ( string text, string commandBindingPath, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : System

Initializes a new instance of the DataWindowButton class.

Text is ignored when contentBindingPath is set.

FromAsync ( string text, Func executeAsync, Func canExecute = null ) : DataWindowButton

Initializes a new instance of the DataWindowButton class.

FromAsync ( string text, Func executeAsync, Func canExecute = null, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : DataWindowButton

Initializes a new instance of the DataWindowButton class.

Text is ignored when contentBindingPath is set.

FromSync ( string text, System.Action execute, Func canExecute = null ) : DataWindowButton

Initializes a new instance of the DataWindowButton class.

FromSync ( string text, System.Action execute, Func canExecute = null, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : DataWindowButton

Initializes a new instance of the DataWindowButton class.

Text is ignored when contentBindingPath is set.

비공개 메소드들

메소드 설명
DataWindowButton ( string text, System.Action execute, Func canExecute = null ) : System

메소드 상세

DataWindowButton() 공개 메소드

Initializes a new instance of the DataWindowButton class.
The is null.
public DataWindowButton ( string text, ICommand command ) : System
text string The text.
command ICommand The command.
리턴 System

DataWindowButton() 공개 메소드

Initializes a new instance of the DataWindowButton class.
Text is ignored when contentBindingPath is set.
The is null.
public DataWindowButton ( string text, ICommand command, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : System
text string The text.
command ICommand The command.
contentBindingPath string The binding path expression of the content to bind to.
contentValueConverter IValueConverter The value converter used with content binding.
visibilityBindingPath string The binding path expression of the visibility to bind to.
visibilityValueConverter IValueConverter The value converter used with visibility binding.
리턴 System

DataWindowButton() 공개 메소드

Initializes a new instance of the DataWindowButton class.
The is null.
public DataWindowButton ( string text, string commandBindingPath ) : System
text string The text.
commandBindingPath string The binding path expression of the command to bind to.
리턴 System

DataWindowButton() 공개 메소드

Initializes a new instance of the DataWindowButton class.
Text is ignored when contentBindingPath is set.
The is null.
public DataWindowButton ( string text, string commandBindingPath, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : System
text string The text.
commandBindingPath string The binding path expression of the command to bind to.
contentBindingPath string The binding path expression of the content to bind to.
contentValueConverter IValueConverter The value converter used with content binding.
visibilityBindingPath string The binding path expression of the visibility to bind to.
visibilityValueConverter IValueConverter The value converter used with visibility binding.
리턴 System

FromAsync() 공개 정적인 메소드

Initializes a new instance of the DataWindowButton class.
public static FromAsync ( string text, Func executeAsync, Func canExecute = null ) : DataWindowButton
text string The text.
executeAsync Func The async execute delegate.
canExecute Func The can execute delegate.
리턴 DataWindowButton

FromAsync() 공개 정적인 메소드

Initializes a new instance of the DataWindowButton class.
Text is ignored when contentBindingPath is set.
public static FromAsync ( string text, Func executeAsync, Func canExecute = null, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : DataWindowButton
text string The text.
executeAsync Func The async execute delegate.
canExecute Func The can execute delegate.
contentBindingPath string The binding path expression of the content to bind to.
contentValueConverter IValueConverter The value converter used with content binding.
visibilityBindingPath string The binding path expression of the visibility to bind to.
visibilityValueConverter IValueConverter The value converter used with visibility binding.
리턴 DataWindowButton

FromSync() 공개 정적인 메소드

Initializes a new instance of the DataWindowButton class.
public static FromSync ( string text, System.Action execute, Func canExecute = null ) : DataWindowButton
text string The text.
execute System.Action The execute delegate.
canExecute Func The can execute delegate.
리턴 DataWindowButton

FromSync() 공개 정적인 메소드

Initializes a new instance of the DataWindowButton class.
Text is ignored when contentBindingPath is set.
public static FromSync ( string text, System.Action execute, Func canExecute = null, string contentBindingPath = null, IValueConverter contentValueConverter = null, string visibilityBindingPath = null, IValueConverter visibilityValueConverter = null ) : DataWindowButton
text string The text.
execute System.Action The execute delegate.
canExecute Func The can execute delegate.
contentBindingPath string The binding path expression of the content to bind to.
contentValueConverter IValueConverter The value converter used with content binding.
visibilityBindingPath string The binding path expression of the visibility to bind to.
visibilityValueConverter IValueConverter The value converter used with visibility binding.
리턴 DataWindowButton