Ext.NET  5.3.0
.NET Component Framework for Enterprise Level Apps
Ext.Net.MessageBoxConfig Class Reference

More...

Inheritance diagram for Ext.Net.MessageBoxConfig:
Ext.Net.ExtObject Ext.Net.IXObject

Public Member Functions

virtual string ToScript ()
 
- Public Member Functions inherited from Ext.Net.ExtObject
virtual bool HasExplicitValue (string name)
 

Properties

virtual string Title [get, set]
 The title text More...
 
virtual string AnimEl [get, set]
 An id or Element from which the message box should animate as it opens and closes (defaults to undefined) More...
 
virtual MessageBox.Button Buttons [get, set]
 A buttons kind, or NONE to not show any buttons (defaults to NONE) More...
 
virtual MessageBoxButtonsConfig MessageBoxButtonsConfig [get, set]
 A buttons kind, or NONE to not show any buttons (defaults to NONE) More...
 
string ButtonsProxy [get]
 
virtual bool Closable [get, set]
 False to hide the top-right close button (defaults to true). Note that progress and wait dialogs will ignore this property and always hide the close button as they can only be closed programmatically. More...
 
virtual string Cls [get, set]
 A custom CSS class to apply to the message box's container element More...
 
virtual Unit MultilineHeight [get, set]
 The height in pixels to create the textbox More...
 
virtual string Handler [get, set]
 A callback function which is called when the dialog is dismissed either by clicking on the configured buttons, or on the dialog close button, or by pressing the return button to enter input. Progress and wait dialogs will ignore this option since they do not respond to user actions and can only be closed programmatically, so any required function should be called by the same code after it closes the dialog. Parameters passed: buttonId : String The ID of the button pressed, one of: ok yes no cancel text : String Value of the input field if either prompt or multiline is true More...
 
JFunction Fn [get, set]
 A callback function which is called when the dialog is dismissed either by clicking on the configured buttons, or on the dialog close button, or by pressing the return button to enter input. Progress and wait dialogs will ignore this option since they do not respond to user actions and can only be closed programmatically, so any required function should be called by the same code after it closes the dialog. Parameters passed: buttonId : String The ID of the button pressed, one of: ok yes no cancel text : String Value of the input field if either prompt or multiline is true More...
 
string FnProxy [get]
 
virtual string Scope [get, set]
 The scope of the callback function More...
 
virtual MessageBox.Icon Icon [get, set]
 A CSS class that provides a background image to be used as the body icon for the dialog (e.g. Ext.MessageBox.WARNING or 'custom-class') (defaults to '') More...
 
virtual string IconCls [get, set]
 A CSS class that provides a background image More...
 
string IconProxy [get]
 
virtual Icon16x16 HeaderIcon [get, set]
 The standard Ext.Window.iconCls to add an optional header icon (defaults to '') More...
 
virtual string HeaderIconCls [get, set]
 The standard Ext.Window.iconCls to add an optional header icon (defaults to '') More...
 
virtual string HeaderIconClsProxy [get]
 
virtual MaskClickActions MaskClickAction [get, set]
 The method to call when the window's modal mask is clicked or tapped. More...
 
virtual Unit MaxWidth [get, set]
 The maximum width in pixels of the message box (defaults to 600) More...
 
virtual Unit MinWidth [get, set]
 The minimum width in pixels of the message box (defaults to 100) More...
 
virtual bool Modal [get, set]
 False to allow user interaction with the page while the message box is displayed (defaults to true) More...
 
virtual string Message [get, set]
 A string that will replace the existing message box body text (defaults to the XHTML-compliant non-breaking space character ' ') More...
 
virtual bool Multiline [get, set]
 True to prompt the user to enter multi-line text (defaults to false) More...
 
virtual bool Progress [get, set]
 True to display a progress bar (defaults to false) More...
 
virtual string ProgressText [get, set]
 The text to display inside the progress bar if progress = true (defaults to '') More...
 
virtual bool Prompt [get, set]
 True to prompt the user to enter single-line text (defaults to false) More...
 
virtual bool ProxyDrag [get, set]
 True to display a lightweight proxy while dragging (defaults to false) More...
 
virtual string Value [get, set]
 The string value to set into the active textbox element if displayed More...
 
virtual bool Wait [get, set]
 True to display a progress bar (defaults to false) More...
 
WaitConfig WaitConfig [get, set]
 A WaitConfig object (applies only if Wait = true) More...
 
string WaitConfigProxy [get]
 
virtual Unit Width [get, set]
 The width of the dialog in pixels More...
 
override ConfigOptionsCollection ConfigOptions [get]
 
- Properties inherited from Ext.Net.ExtObject
virtual ConfigOptionsCollection ConfigOptions [get]
 
virtual ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
virtual DefaultValueMode DefaultValueMode [get, set]
 
- Properties inherited from Ext.Net.IXObject
ConfigOptionsCollection ConfigOptions [get]
 
ConfigOptionsExtraction ConfigOptionsExtraction [get]
 
DefaultValueMode DefaultValueMode [get, set]
 

Detailed Description

Member Function Documentation

◆ ToScript()

virtual string Ext.Net.MessageBoxConfig.ToScript ( )
inlinevirtual

Property Documentation

◆ AnimEl

virtual string Ext.Net.MessageBoxConfig.AnimEl
getset

An id or Element from which the message box should animate as it opens and closes (defaults to undefined)

◆ Buttons

virtual MessageBox.Button Ext.Net.MessageBoxConfig.Buttons
getset

A buttons kind, or NONE to not show any buttons (defaults to NONE)

◆ ButtonsProxy

string Ext.Net.MessageBoxConfig.ButtonsProxy
getprotected

◆ Closable

virtual bool Ext.Net.MessageBoxConfig.Closable
getset

False to hide the top-right close button (defaults to true). Note that progress and wait dialogs will ignore this property and always hide the close button as they can only be closed programmatically.

◆ Cls

virtual string Ext.Net.MessageBoxConfig.Cls
getset

A custom CSS class to apply to the message box's container element

◆ ConfigOptions

override ConfigOptionsCollection Ext.Net.MessageBoxConfig.ConfigOptions
get

◆ Fn

JFunction Ext.Net.MessageBoxConfig.Fn
getset

A callback function which is called when the dialog is dismissed either by clicking on the configured buttons, or on the dialog close button, or by pressing the return button to enter input. Progress and wait dialogs will ignore this option since they do not respond to user actions and can only be closed programmatically, so any required function should be called by the same code after it closes the dialog. Parameters passed: buttonId : String The ID of the button pressed, one of: ok yes no cancel text : String Value of the input field if either prompt or multiline is true

◆ FnProxy

string Ext.Net.MessageBoxConfig.FnProxy
getprotected

◆ Handler

virtual string Ext.Net.MessageBoxConfig.Handler
getset

A callback function which is called when the dialog is dismissed either by clicking on the configured buttons, or on the dialog close button, or by pressing the return button to enter input. Progress and wait dialogs will ignore this option since they do not respond to user actions and can only be closed programmatically, so any required function should be called by the same code after it closes the dialog. Parameters passed: buttonId : String The ID of the button pressed, one of: ok yes no cancel text : String Value of the input field if either prompt or multiline is true

◆ HeaderIcon

virtual Icon16x16 Ext.Net.MessageBoxConfig.HeaderIcon
getset

The standard Ext.Window.iconCls to add an optional header icon (defaults to '')

◆ HeaderIconCls

virtual string Ext.Net.MessageBoxConfig.HeaderIconCls
getset

The standard Ext.Window.iconCls to add an optional header icon (defaults to '')

◆ HeaderIconClsProxy

virtual string Ext.Net.MessageBoxConfig.HeaderIconClsProxy
getprotected

◆ Icon

virtual MessageBox.Icon Ext.Net.MessageBoxConfig.Icon
getset

A CSS class that provides a background image to be used as the body icon for the dialog (e.g. Ext.MessageBox.WARNING or 'custom-class') (defaults to '')

◆ IconCls

virtual string Ext.Net.MessageBoxConfig.IconCls
getset

A CSS class that provides a background image

◆ IconProxy

string Ext.Net.MessageBoxConfig.IconProxy
getprotected

◆ MaskClickAction

virtual MaskClickActions Ext.Net.MessageBoxConfig.MaskClickAction
getset

The method to call when the window's modal mask is clicked or tapped.

◆ MaxWidth

virtual Unit Ext.Net.MessageBoxConfig.MaxWidth
getset

The maximum width in pixels of the message box (defaults to 600)

◆ Message

virtual string Ext.Net.MessageBoxConfig.Message
getset

A string that will replace the existing message box body text (defaults to the XHTML-compliant non-breaking space character ' ')

◆ MessageBoxButtonsConfig

virtual MessageBoxButtonsConfig Ext.Net.MessageBoxConfig.MessageBoxButtonsConfig
getset

A buttons kind, or NONE to not show any buttons (defaults to NONE)

◆ MinWidth

virtual Unit Ext.Net.MessageBoxConfig.MinWidth
getset

The minimum width in pixels of the message box (defaults to 100)

◆ Modal

virtual bool Ext.Net.MessageBoxConfig.Modal
getset

False to allow user interaction with the page while the message box is displayed (defaults to true)

◆ Multiline

virtual bool Ext.Net.MessageBoxConfig.Multiline
getset

True to prompt the user to enter multi-line text (defaults to false)

◆ MultilineHeight

virtual Unit Ext.Net.MessageBoxConfig.MultilineHeight
getset

The height in pixels to create the textbox

◆ Progress

virtual bool Ext.Net.MessageBoxConfig.Progress
getset

True to display a progress bar (defaults to false)

◆ ProgressText

virtual string Ext.Net.MessageBoxConfig.ProgressText
getset

The text to display inside the progress bar if progress = true (defaults to '')

◆ Prompt

virtual bool Ext.Net.MessageBoxConfig.Prompt
getset

True to prompt the user to enter single-line text (defaults to false)

◆ ProxyDrag

virtual bool Ext.Net.MessageBoxConfig.ProxyDrag
getset

True to display a lightweight proxy while dragging (defaults to false)

◆ Scope

virtual string Ext.Net.MessageBoxConfig.Scope
getset

The scope of the callback function

◆ Title

virtual string Ext.Net.MessageBoxConfig.Title
getset

The title text

◆ Value

virtual string Ext.Net.MessageBoxConfig.Value
getset

The string value to set into the active textbox element if displayed

◆ Wait

virtual bool Ext.Net.MessageBoxConfig.Wait
getset

True to display a progress bar (defaults to false)

◆ WaitConfig

WaitConfig Ext.Net.MessageBoxConfig.WaitConfig
getset

A WaitConfig object (applies only if Wait = true)

◆ WaitConfigProxy

string Ext.Net.MessageBoxConfig.WaitConfigProxy
getprotected

◆ Width

virtual Unit Ext.Net.MessageBoxConfig.Width
getset

The width of the dialog in pixels


The documentation for this class was generated from the following files: