Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
[ClientScriptResource("Telerik.Web.UI.RadFloatingActionButton", "Telerik.Web.UI.FloatingActionButton.Scripts.RadFloatingActionButton.js")]
[TelerikToolboxCategory("Visualization")]
[ToolboxBitmap(typeof(RadFloatingActionButton), "Toolbox.Icons.FloatingActionButton.png")]
[RequiredScript(typeof(jQueryPlugins))]
[RequiredScript(typeof(Html5FloatingActionButton))]
[ClientScriptResource("Telerik.Web.UI.RadFloatingActionButton", "Telerik.Web.UI.FloatingActionButton.Scripts.RadFloatingActionButton.js")]
[EmbeddedSkin("FloatingActionButton", typeof(RadFloatingActionButton))]
[EmbeddedSkin("FloatingActionButton", "Default", typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Classic, typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Lightweight, typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.common.css", RenderMode.Mobile, typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Classic, typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Lightweight, typeof(RadFloatingActionButton))]
[RequiredCss("Telerik.Web.UI.Skins.Common.fonticons.css", RenderMode.Mobile, typeof(RadFloatingActionButton))]
public class RadFloatingActionButton : RadWebControl, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IScriptControl, IControlResolver, IPostBackDataHandler, ISkinnableControl, IControl
Inheritance: objectControlWebControlRadWebControlRadFloatingActionButton
Implements:
Inherited Members
Constructors
public RadFloatingActionButton()
Properties
Specifies position of the FloatingActionButton relative to its container. Valid position options are: "top start": positions the button at top left corner of the container.; "top center": positions the button at top center of the container.; "top end": positions the button at top right corner of the container.; "middle start": positions the button at middle left of the container.; "middle end": positions the button at middle right of the container.; "bottom start": positions the button at bottom left corner of the container.; "bottom center": positions the button at top center of the container. or "bottom end": positions the button at bottom right corner of the container.. works in conjunction with positionMode and alignOffset.**Note: when using align, make sure the FloatingActionButton container has css position other than "static" and allows overflow content.
public RadFloatingActionButtonAlign Align { get; set; }
Specifies the horizontal and vertical offset of the FloatingActionButton.
[PersistenceMode(PersistenceMode.InnerProperty)]
public AlignOffset AlignOffsetSettings { get; }
Defines the client events handlers.
[PersistenceMode(PersistenceMode.InnerProperty)]
public FloatingActionButtonClientEvents ClientEvents { get; }
The CssClass property will now be used instead of the former Skin and will be modified in AddAttributesToRender()
protected override string CssClassFormatString { get; }
Overrides:
Specifies the name for an existing icon in a Kendo UI theme that is rendered in the FloatingActionButton.See the Web Font Icons help article for more details on Kendo UI icons.
public string Icon { get; set; }
Specifies the speed-dial items that will be rendered in a popup container anchored to the FloatingActionButton.**Note: when using the items configuration, clicking on the FloatingActionButton will open the popup containing the speed-dial list.
[PersistenceMode(PersistenceMode.InnerProperty)]
public FloatingActionButtonItemsCollection Items { get; }
Specifies CSS position of the FloatingActionButton in the document. Valid options are: "absolute": positions the button relative to the nearest positioned ancestor . or "fixed": positions the button relative to the viewport..
public RadFloatingActionButtonPositionMode PositionMode { get; set; }
Specifies the shape of the FloatingActionButton. "rectangle", "pill" or "square".
public RadFloatingActionButtonShape Shape { get; set; }
Specifies the size of the FloatingActionButton. Valid options are "small", "medium", "large" and null.
public RadFloatingActionButtonSize Size { get; set; }
protected override HtmlTextWriterTag TagKey { get; }
Overrides:
Specifies the text of the FloatingActionButton. Default is empty string.
public string Text { get; set; }
Specifies the theme color of the FloatingActionButton. Valid options are "primary", "secondary", "tertiary", "info", "success", "warning", "error".
public RadFloatingActionButtonThemeColor ThemeColor { get; set; }
Methods
protected override void DescribeComponent(IScriptDescriptor descriptor)
Overrides:
protected override void TrackViewState()
Overrides: