Click or drag to resize
DiscussionButtons Class
BBCode buttons control.
Inheritance Hierarchy

Namespace: CMS.ExtendedControls
Assembly: CMS.ExtendedControls (in CMS.ExtendedControls.dll) Version: 8.2.23
Syntax
C#
public class DiscussionButtons : Panel

The DiscussionButtons type exposes the following members.

Constructors
  NameDescription
Public methodDiscussionButtons
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodAddCssClass
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodCallHandled
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page. Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetCssClasses
Returns all CSS classes of control.
(Defined by ControlsExtensions.)
Public Extension MethodGetRenderedHTML
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodHasCssClass
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodRemoveCssClass
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.)
Public Extension MethodSetCssClasses
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldbtnAdvancedImage
Insert media button.
Protected fieldbtnAdvancedUrl
Insert link button.
Protected fieldbtnBold
Sets text font style to bold button.
Protected fieldbtnCode
Insert code button.
Protected fieldbtnColor
Sets text color button.
Protected fieldbtnImage
Insert image button.
Protected fieldbtnItalic
Sets text font style to italics button.
Protected fieldbtnQuote
Insert quote button.
Protected fieldbtnStrike
Sets text font style to strikedthrough button.
Protected fieldbtnUnderline
Sets text font style to underlined button.
Protected fieldbtnUrl
Insert URL button.
Top
Properties
  NameDescription
Public propertyButtonsCssClass
Gets or sets buttons CSS class.
Public propertyControlID
Gets or sets the ClientID of the control (TextArea) where the buttons will insert the macros.
Public propertyEnabled
Determines whether the control is enabled or disabled.
(Overrides WebControlEnabled.)
Public propertyImageDialogConfig
Configuration of the dialog for inserting Images.
Public propertyIsLiveSite
Indicates if the control is used on the live site.
Public propertyShowAdvancedImage
Gets or sets the value which determines whether to display button for media insertion.
Public propertyShowAdvancedURL
Gets or sets the value which determines whether to display button for link insertion.
Public propertyShowBold
Gets or sets the value which determines whether to display button for Bold font style tag insertion.
Public propertyShowCode
Gets or sets the value which determines whether to display button for Code tag insertion.
Public propertyShowColor
Gets or sets the value which determines whether to display button for Font color style tag insertion.
Public propertyShowImage
Gets or sets the value which determines whether to display button for Image tag insertion.
Public propertyShowItalic
Gets or sets the value which determines whether to display button for Italic font style tag insertion.
Public propertyShowQuote
Gets or sets the value which determines whether to display button for Quote tag insertion.
Public propertyShowStrike
Gets or sets the value which determines whether to display button for Strikedthrough font style tag insertion.
Public propertyShowUnderline
Gets or sets the value which determines whether to display button for Underline font style tag insertion.
Public propertyShowURL
Gets or sets the value which determines whether to display button for URL tag insertion.
Public propertyURLDialogConfig
Configuration of the dialog for inserting URLs.
Public propertyUsePromptDialog
Gets or sets the value which determines whether the prompt dialog will be used. Prompt dialog doesn't work properly with modal window.
Top
See Also