C# Класс Fluqi.Widget.jToolTip.Rendering

Responsible for setting how the control should be rendered to the page. For instance should the control CSS be rendered, should pretty layout be used, etc.
Наследование: Core.RenderBase
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Compress ( ) : Rendering

Forces pretty rendering off so you can see the output whilst in DEBUG mode if you wish

Finish ( ) : ToolTip

Used to flag that configuration has finished, and returns the ToolTip object so we can continue defining ToolTip attributes.

Rendering ( ToolTip tooltip ) : System

Constructor

SetAutoScript ( bool autoScript ) : Rendering

Specifies whether the control should be self-initialising (with it's own $(document).ready section, or if this should be left to the view to declare on purpose.

SetPrettyRender ( bool prettyRender ) : Rendering

Specifies if the HTML/JavaScript which is rendered should be indented in a more readable manner (as opposed to when Compress() is active (i.e. PrettyRender=false) which keeps everything in one line to keep the script size down)

SetRenderCSS ( bool renderCSS ) : Rendering

Specifies that the CSS class the jQuery UI library should be written as part of widget rendering. This is useful if you still want your pages to look "jQuery UI-ified" when your user has JavaScript disabled.

SetTabDepth ( int indentation ) : Rendering

Specifies that when writing in pretty HTML mode (see Compress) the Html helper should start writing at a particular tab depth (so everything lines up nicely when you view the source).

ShowCSS ( ) : Rendering

Writes slim CSS to the browser (jQuery UI classes aren't expanded for non-JS users)

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

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

Forces pretty rendering off so you can see the output whilst in DEBUG mode if you wish
public Compress ( ) : Rendering
Результат Rendering

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

Used to flag that configuration has finished, and returns the ToolTip object so we can continue defining ToolTip attributes.
public Finish ( ) : ToolTip
Результат ToolTip

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

Constructor
public Rendering ( ToolTip tooltip ) : System
tooltip ToolTip ToolTip object to set rendering options of
Результат System

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

Specifies whether the control should be self-initialising (with it's own $(document).ready section, or if this should be left to the view to declare on purpose.
public SetAutoScript ( bool autoScript ) : Rendering
autoScript bool /// If true the control initialises itself /// If false the initialisation is left to the [calling] view ///
Результат Rendering

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

Specifies if the HTML/JavaScript which is rendered should be indented in a more readable manner (as opposed to when Compress() is active (i.e. PrettyRender=false) which keeps everything in one line to keep the script size down)
public SetPrettyRender ( bool prettyRender ) : Rendering
prettyRender bool Flags pretty rendering on or off
Результат Rendering

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

Specifies that the CSS class the jQuery UI library should be written as part of widget rendering. This is useful if you still want your pages to look "jQuery UI-ified" when your user has JavaScript disabled.
public SetRenderCSS ( bool renderCSS ) : Rendering
renderCSS bool Flags writing CSS class names on or off
Результат Rendering

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

Specifies that when writing in pretty HTML mode (see Compress) the Html helper should start writing at a particular tab depth (so everything lines up nicely when you view the source).
public SetTabDepth ( int indentation ) : Rendering
indentation int How far the Html helper should indent the rendered HTML
Результат Rendering

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

Writes slim CSS to the browser (jQuery UI classes aren't expanded for non-JS users)
public ShowCSS ( ) : Rendering
Результат Rendering