C# Class Fluqi.Widget.jDialog.Options

A set of properties to apply to a set of jQuery UI AutoComplete.
Inheritance: Core.Options
Afficher le fichier Open project: toepoke/Fluqi

Méthodes publiques

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

Method Details

AddButton() public méthode

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.
Résultat Options

SetAutoOpen() public méthode

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
Résultat Options

SetCloseOnEscape() public méthode

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
Résultat Options

SetCloseText() public méthode

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
Résultat Options

SetDialogClass() public méthode

The specified class name(s) will be added to the dialog, for additional theming.
public SetDialogClass ( string dialogClass ) : Options
dialogClass string
Résultat Options

SetDisabled() public méthode

Disables (true) or enables (false) the dialog. Can be set when initialising (first creating) the dialog.
public SetDisabled ( bool disable ) : Options
disable bool
Résultat Options

SetDraggable() public méthode

If set to true, the dialog will be draggable will be draggable by the titlebar.
public SetDraggable ( bool draggable ) : Options
draggable bool
Résultat Options

SetHeight() public méthode

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
Résultat Options

SetHeight() public méthode

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
Résultat Options

SetHideEffect() public méthode

The effect to be used when the dialog is closed.
public SetHideEffect ( Core effect ) : Options
effect Core
Résultat Options

SetHideEffect() public méthode

The effect to be used when the dialog is closed.
public SetHideEffect ( string hide ) : Options
hide string
Résultat Options

SetHideMethod() public méthode

Function to use when the dialog is closed.
public SetHideMethod ( string hideMethod ) : Options
hideMethod string
Résultat Options

SetMaxHeight() public méthode

The maximum height to which the dialog can be resized, in pixels.
public SetMaxHeight ( int maxHeight ) : Options
maxHeight int
Résultat Options

SetMaxHeight() public méthode

The maximum height to which the dialog can be resized, in pixels.
public SetMaxHeight ( string maxHeight ) : Options
maxHeight string
Résultat Options

SetMaxWidth() public méthode

The maximum width to which the dialog can be resized, in pixels.
public SetMaxWidth ( int maxWidth ) : Options
maxWidth int
Résultat Options

SetMaxWidth() public méthode

The maximum width to which the dialog can be resized, in pixels.
public SetMaxWidth ( string maxWidth ) : Options
maxWidth string
Résultat Options

SetMinHeight() public méthode

The minimum height to which the dialog can be resized, in pixels.
public SetMinHeight ( int minHeight ) : Options
minHeight int
Résultat Options

SetMinWidth() public méthode

The minimum width to which the dialog can be resized, in pixels.
public SetMinWidth ( int minWidth ) : Options
minWidth int
Résultat Options

SetModal() public méthode

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
Résultat Options

SetPosition() public méthode

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
Résultat Options

SetPosition() public méthode

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
Résultat Options

SetPosition() public méthode

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
Résultat Options

SetPosition() public méthode

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
Résultat Options

SetPosition() public méthode

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
Résultat Options

SetResizable() public méthode

If set to true, the dialog will be resizable.
public SetResizable ( bool resizable ) : Options
resizable bool
Résultat Options

SetShowEffect() public méthode

The effect to be used when the dialog is opened.
public SetShowEffect ( Core effect ) : Options
effect Core
Résultat Options

SetShowEffect() public méthode

The effect to be used when the dialog is opened.
public SetShowEffect ( string show ) : Options
show string
Résultat Options

SetShowMethod() public méthode

The effect to be used when the dialog is opened.
public SetShowMethod ( string showMethod ) : Options
showMethod string
Résultat Options

SetStack() public méthode

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
Résultat Options

SetTitle() public méthode

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
Résultat Options

SetWidth() public méthode

The width of the dialog, in pixels.
public SetWidth ( int width ) : Options
width int
Résultat Options

SetZIndex() public méthode

The starting z-index for the dialog.
public SetZIndex ( int zIndex ) : Options
zIndex int
Résultat Options