C# Class Guit.DialogBox

Simple Dialog window containing default Accept and Cancel buttons that can be customized.
Inheritance: Dialog, ISupportInitializeNotification
Afficher le fichier Open project: kzu/guit

Méthodes publiques

Méthode Description
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

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
ISupportInitialize ( ) : void

Method Details

Add() public méthode

public Add ( control, string propertyNameBinding, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
propertyNameBinding string
convertTo object>?.Func
convertFrom object>?.Func
Résultat T

AddButton() protected méthode

protected AddButton ( string text, Action clickedAction, bool isDefault = false ) : void
text string
clickedAction Action
isDefault bool
Résultat void

BeginInit() protected méthode

Begins the initialization of the dialog prior to display for the first time.
protected BeginInit ( ) : void
Résultat void

Bind() public méthode

public Bind ( control, string propertyName, object>?.Func convertTo = null, object>?.Func convertFrom = null ) : T
propertyName string
convertTo object>?.Func
convertFrom object>?.Func
Résultat T

Close() protected méthode

protected Close ( bool? result ) : void
result bool?
Résultat void

DialogBox() public méthode

public DialogBox ( string title ) : System
title string
Résultat System

EndInit() protected méthode

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

LayoutSubviews() public méthode

public LayoutSubviews ( ) : void
Résultat void

ProcessKey() public méthode

public ProcessKey ( KeyEvent kb ) : bool
kb KeyEvent
Résultat bool

ShowDialog() public méthode

public ShowDialog ( ) : bool?
Résultat bool?

WillPresent() public méthode

public WillPresent ( ) : void
Résultat void