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

A set of properties to apply to a set of jQuery UI AutoComplete.
Наследование: Core.Options
Показать файл Открыть проект

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

Метод Описание
AddButton ( string label, string methodSource ) : Options

Adds a button onto the dialog.

SetAutoOpen ( bool autoOpen ) : Options

When autoOpen is true the dialog will open automatically when dialog is called. If false it will stay hidden until .dialog("open") is called on it.

SetCloseOnEscape ( bool closeOnEscape ) : Options

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

SetCloseText ( string closeText ) : Options

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

SetDialogClass ( string dialogClass ) : Options

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

SetDisabled ( bool disable ) : Options

Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.

SetDraggable ( bool draggable ) : Options

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

SetHeight ( int height ) : Options

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

SetHeight ( string height ) : Options

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

SetHideEffect ( Core effect ) : Options

The effect to be used when the dialog is closed.

SetHideEffect ( string hide ) : Options

The effect to be used when the dialog is closed.

SetHideMethod ( string hideMethod ) : Options

Function to use when the dialog is closed.

SetMaxHeight ( int maxHeight ) : Options

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

SetMaxHeight ( string maxHeight ) : Options

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

SetMaxWidth ( int maxWidth ) : Options

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

SetMaxWidth ( string maxWidth ) : Options

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

SetMinHeight ( int minHeight ) : Options

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

SetMinWidth ( int minWidth ) : Options

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

SetModal ( bool modal ) : Options

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 ) : Options

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

SetPosition ( Core x, Core y ) : Options

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

SetPosition ( int x, int y ) : Options

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

SetPosition ( string position ) : Options

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

SetPosition ( string x, string y ) : Options

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

SetResizable ( bool resizable ) : Options

If set to true, the dialog will be resizable.

SetShowEffect ( Core effect ) : Options

The effect to be used when the dialog is opened.

SetShowEffect ( string show ) : Options

The effect to be used when the dialog is opened.

SetShowMethod ( string showMethod ) : Options

The effect to be used when the dialog is opened.

SetStack ( bool stack ) : Options

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 title ) : Options

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.

SetWidth ( int width ) : Options

The width of the dialog, in pixels.

SetZIndex ( int zIndex ) : Options

The starting z-index for the dialog.

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

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

Adds a button onto the dialog.
public AddButton ( string label, string methodSource ) : Options
label string Label on the button the user will see.
methodSource string JavaScript to call when the button is clicked.
Результат Options

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

When autoOpen is true the dialog will open automatically when dialog is called. If false it will stay hidden until .dialog("open") is called on it.
public SetAutoOpen ( bool autoOpen ) : Options
autoOpen bool
Результат Options

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

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

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

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

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

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

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

Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.
public SetDisabled ( bool disable ) : Options
disable bool
Результат Options

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

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

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

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

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

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

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

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

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

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

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

Function to use when the dialog is closed.
public SetHideMethod ( string hideMethod ) : Options
hideMethod string
Результат Options

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

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

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

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

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

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

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

The maximum width to which the dialog can be resized, in pixels.
public SetMaxWidth ( string maxWidth ) : Options
maxWidth string
Результат Options

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

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

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

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

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 modal ) : Options
modal bool
Результат Options

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 ) : Options
position Core
Результат Options

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

Specifies where the dialog should be displayed. Possible values: Two strings containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( Core x, Core y ) : Options
x Core
y Core
Результат Options

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

Specifies where the dialog should be displayed. Possible values: Two values containing an x,y coordinate pair in pixel offset from left, top corner of viewport (e.g. 350, 100)
public SetPosition ( int x, int y ) : Options
x int
y int
Результат Options

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 ) : Options
position string
Результат Options

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

Specifies where the dialog should be displayed. Possible values: Two strings containing x,y position string values (e.g. ['right','top'] for top right corner)
public SetPosition ( string x, string y ) : Options
x string
y string
Результат Options

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

If set to true, the dialog will be resizable.
public SetResizable ( bool resizable ) : Options
resizable bool
Результат Options

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

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

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

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

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

The effect to be used when the dialog is opened.
public SetShowMethod ( string showMethod ) : Options
showMethod string
Результат Options

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 stack ) : Options
stack bool
Результат Options

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 title ) : Options
title string
Результат Options

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

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

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

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