C# 클래스 Guit.DialogBox

Simple Dialog window containing default Accept and Cancel buttons that can be customized.
상속: Dialog, ISupportInitializeNotification
파일 보기 프로젝트 열기: kzu/guit

공개 메소드들

메소드 설명
Add ( control, string propertyNameBinding, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
Bind ( control, string propertyName, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
DialogBox ( string title ) : System
LayoutSubviews ( ) : void
ProcessKey ( KeyEvent kb ) : bool
ShowDialog ( ) : bool?
WillPresent ( ) : void

보호된 메소드들

메소드 설명
AddButton ( string text, Action clickedAction, bool isDefault = false ) : void
BeginInit ( ) : void

Begins the initialization of the dialog prior to display for the first time.

Close ( bool? result ) : void
EndInit ( ) : void

Finishes the initialization of the dialog prior to display for the first time. Sets the IsInitialized and raises Initialized.

비공개 메소드들

메소드 설명
ISupportInitialize ( ) : void

메소드 상세

Add() 공개 메소드

public Add ( control, string propertyNameBinding, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
propertyNameBinding string
convertTo object>?.Func
convertFrom object>?.Func
리턴 T

AddButton() 보호된 메소드

protected AddButton ( string text, Action clickedAction, bool isDefault = false ) : void
text string
clickedAction Action
isDefault bool
리턴 void

BeginInit() 보호된 메소드

Begins the initialization of the dialog prior to display for the first time.
protected BeginInit ( ) : void
리턴 void

Bind() 공개 메소드

public Bind ( control, string propertyName, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
propertyName string
convertTo object>?.Func
convertFrom object>?.Func
리턴 T

Close() 보호된 메소드

protected Close ( bool? result ) : void
result bool?
리턴 void

DialogBox() 공개 메소드

public DialogBox ( string title ) : System
title string
리턴 System

EndInit() 보호된 메소드

Finishes the initialization of the dialog prior to display for the first time. Sets the IsInitialized and raises Initialized.
protected EndInit ( ) : void
리턴 void

LayoutSubviews() 공개 메소드

public LayoutSubviews ( ) : void
리턴 void

ProcessKey() 공개 메소드

public ProcessKey ( KeyEvent kb ) : bool
kb KeyEvent
리턴 bool

ShowDialog() 공개 메소드

public ShowDialog ( ) : bool?
리턴 bool?

WillPresent() 공개 메소드

public WillPresent ( ) : void
리턴 void