C# Класс Fluqi.Widget.jDialog.Methods

The "Methods" are called after the control has been initialised. If for instance you want to change the value of a property, or invoke "some" action on the control (e.g. "open" or "close") you call the "Method" rather than through the "Options" (as Options is about the initialisation of the control).
Наследование: Core.Methods
Показать файл Открыть проект

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

Метод Описание
Close ( ) : void

Closes the dialog.

Destroy ( ) : void

Remove the dialog functionality completely. This will return the element back to its pre-init state.

Disable ( ) : void

Disable the dialog.

Enable ( ) : void

Enable the dialog.

GetCloseOnEscape ( ) : void

Returns [in JavaScript] the current "closeOnEscape" setting.

GetCloseText ( ) : void

Returns [in JavaScript] the current "closeText" setting.

GetDialogClass ( ) : void

Returns [in JavaScript] the current "dialogClass" setting.

GetDraggable ( ) : void

Returns [in JavaScript] the current "draggable" setting.

GetHeight ( ) : void

Returns [in JavaScript] the current "height" setting.

GetHideEffect ( ) : void

Returns [in JavaScript] the current "hide" setting.

GetMaxHeight ( ) : void

Returns [in JavaScript] the current "maxHeight" setting.

GetMaxWidth ( ) : void

Returns [in JavaScript] the current "maxWidth" setting.

GetMinHeight ( ) : void

Returns [in JavaScript] the current "minHeight" setting.

GetMinWidth ( ) : void

Returns [in JavaScript] the current "minWidth" setting.

GetModal ( ) : void

Returns [in JavaScript] the current "modal" setting.

GetPosition ( ) : void

Returns [in JavaScript] the current "position" setting.

GetResizable ( ) : void

Returns [in JavaScript] the current "reisizable" setting.

GetShowEffect ( ) : void

Returns [in JavaScript] the current "show" setting.

GetStack ( ) : void

Returns [in JavaScript] the current "stack" setting.

GetTitle ( ) : void

Returns [in JavaScript] the current "title" setting.

GetWidth ( ) : void

Returns [in JavaScript] the current "width" setting.

GetZIndex ( ) : void

Returns [in JavaScript] the current "zIndex" setting.

IsOpen ( ) : void

Returns true if the dialog is currently open.

Methods ( Fluqi.Widget.jDialog.Dialog dlg ) : System

Constructor

MoveToTop ( ) : void

Moves the dialog to the top of the dialog stack.

Open ( ) : void

Opens the dialog.

SetCloseOnEscape ( bool newValue ) : void

Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.

SetCloseText ( string newValue ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.

SetCloseText ( string newValue, bool inDoubleQuotes ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.

SetCloseTextJS ( string newValue ) : void

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetDialogClass ( string newValue ) : void

The specified class name(s) will be added to the dialog, for additional theming.

SetDialogClass ( string newValue, bool inDoubleQuotes ) : void

The specified class name(s) will be added to the dialog, for additional theming.

SetDialogClassJS ( string newValue ) : void

The specified class name(s) will be added to the dialog, for additional theming. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetDraggable ( bool newValue ) : void

If set to true, the dialog will be draggable will be draggable by the titlebar.

SetHeight ( int newValue ) : void

The height of the dialog, in pixels.

SetHeightToAuto ( ) : void

The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.

SetHideEffect ( Core newValue ) : void

The effect to be used when the dialog is closed.

SetHideEffect ( string newValue ) : void

The effect to be used when the dialog is closed.

SetHideEffect ( string newValue, bool inDoubleQuotes ) : void

The effect to be used when the dialog is closed.

SetHideEffectJS ( string newValue ) : void

The effect to be used when the dialog is closed. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetMaxHeight ( int newValue ) : void

The maximum height to which the dialog can be resized, in pixels.

SetMaxWidth ( int newValue ) : void

The maximum width to which the dialog can be resized, in pixels

SetMinHeight ( int newValue ) : void

The minimum height to which the dialog can be resized, in pixels.

SetMinWidth ( int newValue ) : void

The minimum width to which the dialog can be resized, in pixels.

SetModal ( bool newValue ) : void

If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.

SetPosition ( Core position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( Core pos1, Core pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPosition ( int pos1, int pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])

SetPosition ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string position, bool inDoubleQuotes ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.

SetPosition ( string pos1, string pos2 ) : void

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)

SetPositionJS ( string position ) : void

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetResizable ( bool newValue ) : void

If set to true, the dialog will be resizeable.

SetShowEffect ( Core newValue ) : void

The effect to be used when the dialog is opened.

SetShowEffect ( string newValue ) : void

The effect to be used when the dialog is opened.

SetShowEffect ( string newValue, bool inDoubleQuotes ) : void

The effect to be used when the dialog is opened.

SetShowEffectJS ( string newValue ) : void

The effect to be used when the dialog is opened. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetStack ( bool newValue ) : void

Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.

SetTitle ( string newValue ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.

SetTitle ( string newValue, bool inDoubleQuotes ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.

SetTitleJS ( string newValue ) : void

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).

SetWidth ( int newValue ) : void

The width of the dialog, in pixels.

SetZIndex ( int newValue ) : void

The starting z-index for the dialog.

Widget ( ) : void

Returns the .ui-dialog element.

Описание методов

Close() публичный Метод

Closes the dialog.
public Close ( ) : void
Результат void

Destroy() публичный Метод

Remove the dialog functionality completely. This will return the element back to its pre-init state.
public Destroy ( ) : void
Результат void

Disable() публичный Метод

Disable the dialog.
public Disable ( ) : void
Результат void

Enable() публичный Метод

Enable the dialog.
public Enable ( ) : void
Результат void

GetCloseOnEscape() публичный Метод

Returns [in JavaScript] the current "closeOnEscape" setting.
public GetCloseOnEscape ( ) : void
Результат void

GetCloseText() публичный Метод

Returns [in JavaScript] the current "closeText" setting.
public GetCloseText ( ) : void
Результат void

GetDialogClass() публичный Метод

Returns [in JavaScript] the current "dialogClass" setting.
public GetDialogClass ( ) : void
Результат void

GetDraggable() публичный Метод

Returns [in JavaScript] the current "draggable" setting.
public GetDraggable ( ) : void
Результат void

GetHeight() публичный Метод

Returns [in JavaScript] the current "height" setting.
public GetHeight ( ) : void
Результат void

GetHideEffect() публичный Метод

Returns [in JavaScript] the current "hide" setting.
public GetHideEffect ( ) : void
Результат void

GetMaxHeight() публичный Метод

Returns [in JavaScript] the current "maxHeight" setting.
public GetMaxHeight ( ) : void
Результат void

GetMaxWidth() публичный Метод

Returns [in JavaScript] the current "maxWidth" setting.
public GetMaxWidth ( ) : void
Результат void

GetMinHeight() публичный Метод

Returns [in JavaScript] the current "minHeight" setting.
public GetMinHeight ( ) : void
Результат void

GetMinWidth() публичный Метод

Returns [in JavaScript] the current "minWidth" setting.
public GetMinWidth ( ) : void
Результат void

GetModal() публичный Метод

Returns [in JavaScript] the current "modal" setting.
public GetModal ( ) : void
Результат void

GetPosition() публичный Метод

Returns [in JavaScript] the current "position" setting.
public GetPosition ( ) : void
Результат void

GetResizable() публичный Метод

Returns [in JavaScript] the current "reisizable" setting.
public GetResizable ( ) : void
Результат void

GetShowEffect() публичный Метод

Returns [in JavaScript] the current "show" setting.
public GetShowEffect ( ) : void
Результат void

GetStack() публичный Метод

Returns [in JavaScript] the current "stack" setting.
public GetStack ( ) : void
Результат void

GetTitle() публичный Метод

Returns [in JavaScript] the current "title" setting.
public GetTitle ( ) : void
Результат void

GetWidth() публичный Метод

Returns [in JavaScript] the current "width" setting.
public GetWidth ( ) : void
Результат void

GetZIndex() публичный Метод

Returns [in JavaScript] the current "zIndex" setting.
public GetZIndex ( ) : void
Результат void

IsOpen() публичный Метод

Returns true if the dialog is currently open.
public IsOpen ( ) : void
Результат void

Methods() публичный Метод

Constructor
public Methods ( Fluqi.Widget.jDialog.Dialog dlg ) : System
dlg Fluqi.Widget.jDialog.Dialog Dialog object to call
Результат System

MoveToTop() публичный Метод

Moves the dialog to the top of the dialog stack.
public MoveToTop ( ) : void
Результат void

Open() публичный Метод

Opens the dialog.
public Open ( ) : void
Результат void

SetCloseOnEscape() публичный Метод

Specifies whether the dialog should close when it has focus and the user presses the esacpe (ESC) key.
public SetCloseOnEscape ( bool newValue ) : void
newValue bool New closeOnEscape setting
Результат void

SetCloseText() публичный Метод

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.
public SetCloseText ( string newValue ) : void
newValue string New closeText setting
Результат void

SetCloseText() публичный Метод

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme.
public SetCloseText ( string newValue, bool inDoubleQuotes ) : void
newValue string New closeText setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetCloseTextJS() публичный Метод

Specifies the text for the close button. Note that the close text is visibly hidden when using a standard theme. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetCloseTextJS ( string newValue ) : void
newValue string New closeText setting
Результат void

SetDialogClass() публичный Метод

The specified class name(s) will be added to the dialog, for additional theming.
public SetDialogClass ( string newValue ) : void
newValue string New dialogClass setting
Результат void

SetDialogClass() публичный Метод

The specified class name(s) will be added to the dialog, for additional theming.
public SetDialogClass ( string newValue, bool inDoubleQuotes ) : void
newValue string New dialogClass setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetDialogClassJS() публичный Метод

The specified class name(s) will be added to the dialog, for additional theming. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetDialogClassJS ( string newValue ) : void
newValue string New dialogClass setting
Результат void

SetDraggable() публичный Метод

If set to true, the dialog will be draggable will be draggable by the titlebar.
public SetDraggable ( bool newValue ) : void
newValue bool New draggable setting
Результат void

SetHeight() публичный Метод

The height of the dialog, in pixels.
public SetHeight ( int newValue ) : void
newValue int New height setting
Результат void

SetHeightToAuto() публичный Метод

The height of the dialog, in pixels. Specifying 'auto' is also supported to make the dialog adjust based on its content.
public SetHeightToAuto ( ) : void
Результат void

SetHideEffect() публичный Метод

The effect to be used when the dialog is closed.
public SetHideEffect ( Core newValue ) : void
newValue Core New hide setting
Результат void

SetHideEffect() публичный Метод

The effect to be used when the dialog is closed.
public SetHideEffect ( string newValue ) : void
newValue string New hide setting
Результат void

SetHideEffect() публичный Метод

The effect to be used when the dialog is closed.
public SetHideEffect ( string newValue, bool inDoubleQuotes ) : void
newValue string New hide setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetHideEffectJS() публичный Метод

The effect to be used when the dialog is closed. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetHideEffectJS ( string newValue ) : void
newValue string New hide setting
Результат void

SetMaxHeight() публичный Метод

The maximum height to which the dialog can be resized, in pixels.
public SetMaxHeight ( int newValue ) : void
newValue int New maxHeight setting
Результат void

SetMaxWidth() публичный Метод

The maximum width to which the dialog can be resized, in pixels
public SetMaxWidth ( int newValue ) : void
newValue int New maxWidth setting
Результат void

SetMinHeight() публичный Метод

The minimum height to which the dialog can be resized, in pixels.
public SetMinHeight ( int newValue ) : void
newValue int New minHeight setting
Результат void

SetMinWidth() публичный Метод

The minimum width to which the dialog can be resized, in pixels.
public SetMinWidth ( int newValue ) : void
newValue int New minWidth setting
Результат void

SetModal() публичный Метод

If set to true, the dialog will have modal behavior; other items on the page will be disabled (i.e. cannot be interacted with). Modal dialogs create an overlay below the dialog but above other page elements.
public SetModal ( bool newValue ) : void
newValue bool New modal setting
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( Core position ) : void
position Core New position setting
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( Core pos1, Core pos2 ) : void
pos1 Core First position setting
pos2 Core Second position setting
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: An array containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. [350,100])
public SetPosition ( int pos1, int pos2 ) : void
pos1 int First position setting
pos2 int Second position setting
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position ) : void
position string New position setting
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'.
public SetPosition ( string position, bool inDoubleQuotes ) : void
position string New position setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetPosition() публичный Метод

Specifies where the dialog should be displayed. Possible values: An array containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( string pos1, string pos2 ) : void
pos1 string First position setting
pos2 string Second position setting
Результат void

SetPositionJS() публичный Метод

Specifies where the dialog should be displayed. Possible values: A single string representing position within viewport: 'center', 'left', 'right', 'top', 'bottom'. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetPositionJS ( string position ) : void
position string New position setting
Результат void

SetResizable() публичный Метод

If set to true, the dialog will be resizeable.
public SetResizable ( bool newValue ) : void
newValue bool New reisizable setting
Результат void

SetShowEffect() публичный Метод

The effect to be used when the dialog is opened.
public SetShowEffect ( Core newValue ) : void
newValue Core New show setting
Результат void

SetShowEffect() публичный Метод

The effect to be used when the dialog is opened.
public SetShowEffect ( string newValue ) : void
newValue string New show setting
Результат void

SetShowEffect() публичный Метод

The effect to be used when the dialog is opened.
public SetShowEffect ( string newValue, bool inDoubleQuotes ) : void
newValue string New show setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetShowEffectJS() публичный Метод

The effect to be used when the dialog is opened. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetShowEffectJS ( string newValue ) : void
newValue string New show setting
Результат void

SetStack() публичный Метод

Specifies whether the dialog will stack on top of other dialogs. This will cause the dialog to move to the front of other dialogs when it gains focus.
public SetStack ( bool newValue ) : void
newValue bool New stack setting
Результат void

SetTitle() публичный Метод

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.
public SetTitle ( string newValue ) : void
newValue string New title setting
Результат void

SetTitle() публичный Метод

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element.
public SetTitle ( string newValue, bool inDoubleQuotes ) : void
newValue string New title setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

SetTitleJS() публичный Метод

Specifies the title of the dialog. Any valid HTML may be set as the title. The title can also be specified by the title attribute on the dialog source element. This entry point does _not_ add quotes to the input value and is indended for passing JavaScript (that is when rendered, the input value will refer to a JavaScript variable for instance).
public SetTitleJS ( string newValue ) : void
newValue string New title setting
Результат void

SetWidth() публичный Метод

The width of the dialog, in pixels.
public SetWidth ( int newValue ) : void
newValue int New width setting
Результат void

SetZIndex() публичный Метод

The starting z-index for the dialog.
public SetZIndex ( int newValue ) : void
newValue int New zIndex setting
Результат void

Widget() публичный Метод

Returns the .ui-dialog element.
public Widget ( ) : void
Результат void