C# Класс Fluqi.Widget.jAccordion.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
Показать файл Открыть проект

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

Метод Описание
Active ( int panelIndex ) : void

Activate a content part of the Accordion programmatically. zero-indexed number to match the position of the header to activate.

CollapseAll ( ) : void

Collapses all accordion panels (only possible when collapsible is true).

See http://jqueryui.com/demos/accordion/#method-activate for details.

Destroy ( ) : void

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

Disable ( ) : void

Disable the accordion.

DisableAnimation ( ) : void

Disable animation

Enable ( ) : void

Enable the accordion.

GetAnimation ( ) : void

Gets the animation currently being used.

GetCollapsible ( ) : void

Returns [in JavaScript] the current "collapsible" setting. Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).

GetEvent ( ) : void

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

GetHeader ( ) : void

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

GetHeightStyle ( ) : void

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

GetIcons ( ) : void

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

Methods ( Fluqi.Widget.jAccordion.Accordion ac ) : System

Constructor

Refresh ( ) : void

Recompute heights of the accordion contents when using the heightStyle option and the container height changed. For example, when the container is a resizable, this method should be called by its resize-event.

See http://api.jqueryui.com/accordion/#method-refresh for details. Note previous to jQuery 1.9 this was called the "resize" method

Select ( int panelIndex ) : void

Selects the given content part (the "Select" method is the same as "Activate" and is here for ease of discover). zero-indexed number to match the position of the header to activate.

See http://jqueryui.com/demos/accordion/#method-activate for details.

SetAnimate ( Core ease ) : void

Sets the animation to the given easing method, using the default duration

SetAnimate ( Core ease, int duration ) : void

Sets the animation to the given easing method and duration

SetAnimate ( Core easeUp, int durationUp, Core easeDown, int durationDown ) : void

Sets the up and down animations to the given easing method and duration

SetAnimate ( int duration ) : void

Shows the default animation for duration milli-seconds.

SetAnimateJSON ( string value ) : void

If and how to animate changing panels.

SetCollapsible ( bool newValue ) : void

Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).

SetEffect ( string value ) : void

If and how to animate changing panels.

SetEffect ( string value, bool inDoubleQuotes ) : void

If and how to animate changing panels.

SetEvent ( string newValue ) : void

The event on which to trigger the accordion.

SetEvent ( string newValue, bool inDoubleQuotes ) : void

The event on which to trigger the accordion.

SetEventJS ( string newValue ) : void

The event on which to trigger the accordion. 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).

SetHeader ( string newValue ) : void

Selector for the header element.

SetHeader ( string newValue, bool inDoubleQuotes ) : void

Selector for the header element.

SetHeaderJS ( string newValue ) : void

Selector for the header 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).

SetHeightStyle ( Core style ) : void

Sets the heightStyle of the accordion

SetHeightStyle ( string style ) : void

Sets the heightStyle of the accordion

SetIcons ( Core unselectedHeader, Core selectedHeader ) : void

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller

SetIcons ( string unselectedHeader, string selectedHeader ) : void

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller

Widget ( ) : void

Returns the .ui-accordion element.

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

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

Activate a content part of the Accordion programmatically. zero-indexed number to match the position of the header to activate.
public Active ( int panelIndex ) : void
panelIndex int
Результат void

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

Collapses all accordion panels (only possible when collapsible is true).
See http://jqueryui.com/demos/accordion/#method-activate for details.
public CollapseAll ( ) : void
Результат void

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

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

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

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

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

Disable animation
public DisableAnimation ( ) : void
Результат void

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

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

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

Gets the animation currently being used.
public GetAnimation ( ) : void
Результат void

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

Returns [in JavaScript] the current "collapsible" setting. Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).
public GetCollapsible ( ) : void
Результат void

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

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

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

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

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

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

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

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

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

Constructor
public Methods ( Fluqi.Widget.jAccordion.Accordion ac ) : System
ac Fluqi.Widget.jAccordion.Accordion Accordion object to call
Результат System

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

Recompute heights of the accordion contents when using the heightStyle option and the container height changed. For example, when the container is a resizable, this method should be called by its resize-event.
See http://api.jqueryui.com/accordion/#method-refresh for details. Note previous to jQuery 1.9 this was called the "resize" method
public Refresh ( ) : void
Результат void

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

Selects the given content part (the "Select" method is the same as "Activate" and is here for ease of discover). zero-indexed number to match the position of the header to activate.
See http://jqueryui.com/demos/accordion/#method-activate for details.
public Select ( int panelIndex ) : void
panelIndex int
Результат void

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

Sets the animation to the given easing method, using the default duration
public SetAnimate ( Core ease ) : void
ease Core Easing method to use
Результат void

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

Sets the animation to the given easing method and duration
public SetAnimate ( Core ease, int duration ) : void
ease Core Easing method to use
duration int Duration to use
Результат void

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

Sets the up and down animations to the given easing method and duration
public SetAnimate ( Core easeUp, int durationUp, Core easeDown, int durationDown ) : void
easeUp Core Easing method to use (on the up)
durationUp int Duration to use (on the up)
easeDown Core Easing method to use (on the down)
durationDown int Duration to use (on the down)
Результат void

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

Shows the default animation for duration milli-seconds.
public SetAnimate ( int duration ) : void
duration int Duration (in milli-seconds) of the animate
Результат void

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

If and how to animate changing panels.
public SetAnimateJSON ( string value ) : void
value string new animation
Результат void

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

Whether all the sections can be closed at once. Allows collapsing the active section by the triggering event (click is the default).
public SetCollapsible ( bool newValue ) : void
newValue bool
Результат void

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

If and how to animate changing panels.
public SetEffect ( string value ) : void
value string new animation
Результат void

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

If and how to animate changing panels.
public SetEffect ( string value, bool inDoubleQuotes ) : void
value string new animation
inDoubleQuotes bool /// true - double quotes(") /// false - single quotes (') ///
Результат void

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

The event on which to trigger the accordion.
public SetEvent ( string newValue ) : void
newValue string new setting
Результат void

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

The event on which to trigger the accordion.
public SetEvent ( string newValue, bool inDoubleQuotes ) : void
newValue string new setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

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

The event on which to trigger the accordion. 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 SetEventJS ( string newValue ) : void
newValue string new setting
Результат void

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

Selector for the header element.
public SetHeader ( string newValue ) : void
newValue string New header setting
Результат void

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

Selector for the header element.
public SetHeader ( string newValue, bool inDoubleQuotes ) : void
newValue string New header setting
inDoubleQuotes bool /// true - double quotes (") /// false - single quotes (') ///
Результат void

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

Selector for the header 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 SetHeaderJS ( string newValue ) : void
newValue string New header setting
Результат void

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

Sets the heightStyle of the accordion
public SetHeightStyle ( Core style ) : void
style Core new value
Результат void

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

Sets the heightStyle of the accordion
public SetHeightStyle ( string style ) : void
style string new value
Результат void

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

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller
public SetIcons ( Core unselectedHeader, Core selectedHeader ) : void
unselectedHeader Core new unselected header setting
selectedHeader Core new selected header setting
Результат void

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

Icons to use for headers. Icons may be specified for 'header' and 'activeHeader', and we recommend using the icons native to the jQuery UI CSS Framework manipulated by jQuery UI ThemeRoller
public SetIcons ( string unselectedHeader, string selectedHeader ) : void
unselectedHeader string new unselected header setting
selectedHeader string new selected header setting
Результат void

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

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