EditorDropDown
Represents an editor dropdown tool that renders as a custom dropdown in the editor.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class EditorDropDown : EditorTool, IMarkableStateManager, IStateManager, IAttributeAccessor
Inheritance: objectStateManagerEditorToolBaseEditorToolEditorDropDown
Derived Classes:
Implements:
Inherited Members
Constructors
public EditorDropDown()
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public EditorDropDown(EditorTool tool)
Properties
Gets the CSS class applied to the anchor element representing this tool.
protected override string AnchorCssClass { get; }
Overrides:
Gets the custom attributes which will be serialized on the client. If no custom attribute collection was supplied, falls back to the base implementation.
public override AttributeCollection Attributes { get; }
Overrides:
Gets the collection of dropdown items.
[PersistenceMode(PersistenceMode.InnerDefaultProperty)]
public virtual EditorDropDownItemCollection Items { get; }
The items contained in the dropdown.
Gets the renderer responsible for rendering this tool in the editor UI.
protected override IEditorToolRenderer Renderer { get; }
Overrides:
Gets a value indicating whether the tool text should be displayed. Always true for dropdowns.
public override bool ShowText { get; }
Overrides:
Gets or sets the width of the dropdown. When not explicitly set, attempts to read the value from the "width" entry in Attributes.