ASP.NET 3.5 and above only

Obout.Ajax.UI Controls - HTML Editor - Client side

Obout.Ajax.UI.HTMLEditor.QF.StyleItem class

 Inheritance Hierarchy

Item for Obout.Ajax.UI.HTMLEditor.QF.QuickFormatting class.

Note Note
To get property values for client API properties, you must call property accessor method that is named with the get_ prefix. For example, to get a value for a property such as id, you call the get_id method:
var _id = itemObject.get_id();


Name Description
propertyactiveModes ActiveModeType array. Gets an array of edit modes when this button is visible. (Inherited from ToolbarButton.CommonButton.)
Here the array contains one object only: Obout.Ajax.UI.HTMLEditor.ActiveModeType.Design .
propertybuttonName string. Gets the name of the button. (Inherited from ToolbarButton.CommonButton.)
propertyclassName string. Gets the class name associated with this item.
propertyelement string. Gets the DOM element that the current Control instance is associated with. (Inherited from Sys.UI.Control.)
propertyid string. Gets the identifier for the current Control object. The default is the id value of the associated Sys.UI.DomElement object. (Inherited from Sys.UI.Control.)
propertypreservePlace boolean. Gets a value indicating whether to preserve buttons' space when it is invisible. (Inherited from ToolbarButton.CommonButton.)
Default false.
propertytagName string. Gets the tag name of DOM elements for which this item should be enabled.
propertytoolTip string. Gets the tooltip of the button. (Inherited from ToolbarButton.CommonButton.)
Name Description
propertycanBeShown() Returns true if this button can be shown at this moment, otherwise false. (Inherited from ToolbarButton.CommonButton.)
propertycheckElement(retval, el) You can override this function for your custom context menu item for additional checking - whether to show this item.
Returns true if it should be shown, otherwise false.

retval - previously calculated "Return value" (false).
el - DOM element on which the context menu item should be shown.
propertyhideButton() Makes the button invisible. (Inherited from ToolbarButton.CommonButton.)
propertyisDisplayed() Returns true if this button is visible now, otherwise false. (Inherited from ToolbarButton.CommonButton.)
propertyisImage() Returns false here. (Inherited from ToolbarButton.CommonButton.)
propertyshowButton() Makes the button visible. (Inherited from ToolbarButton.CommonButton.)

"Appreciate your fast and accurate response, saved my day !..Great Technical Support"

Ramesh Prajapati
State of Tennessee

Random testimonial   All testimonials