C# Класс Guit.DialogBox

Simple Dialog window containing default Accept and Cancel buttons that can be customized.
Наследование: Dialog, ISupportInitializeNotification
Показать файл Открыть проект

Открытые методы

Метод Описание
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