General Information
.NET Subscription
Desktop
Web
Controls and Extensions
Mainteinance Mode
Enterprise and Analytic Tools
Quality Assurance and Productivity
Frameworks and Libraries
All docs
V19.2
General Information
.NET Subscription
Desktop
Web
Controls and Extensions
Mainteinance Mode
Enterprise and Analytic Tools
Quality Assurance and Productivity
Frameworks and Libraries
19.2
19.1
18.2
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
FABCreateAppointmentAction Class
Represents the floating action button's action that allows you to create a new appointment.
Namespace: DevExpress.Web.ASPxScheduler
Assembly: DevExpress.Web.ASPxScheduler.v19.2.dll
Declaration
public class FABCreateAppointmentAction :
FABAction
Public Class FABCreateAppointmentAction
Inherits FABAction
Remarks
The FABCreateAppointmentAction class allows you to create the FAB's action that creates a new appointment.
Concept
Scheduler - Floating Action Button
Example
WebForms approach:
<dx:ASPxScheduler ID="DemoScheduler" runat="server" ClientInstanceName="DemoScheduler" AppointmentDataSourceID="AppointmentDataSource" ResourceDataSourceID="efResourceDataSource">
...
<FloatingActionButton>
<Items>
<dx:FABCreateAppointmentAction ActionName="CreateApt" ContextName="CreateApt">
<Image Url="../Content/FAB/NewApt.svg" Width="32" Height="32"/>
</dx:FABCreateAppointmentAction>
...
</Items>
</FloatingActionButton>
...
</dx:ASPxScheduler>
MVC approach:
@{
var scheduler = Html.DevExpress().Scheduler(
settings => {
settings.Name = "scheduler";
...
settings.OptionsBehavior.ShowFloatingActionButton = true;
FABCreateAppointmentAction createApt = new FABCreateAppointmentAction();
createApt.ActionName = "CreateApt";
createApt.ContextName = "ContextCreateApt";
createApt.Image.Url = "../Content/FAB/NewApt.svg";
createApt.Image.Width = 32;
createApt.Image.Height = 32;
settings.FloatingActionButton.Items.Add(createApt);
...
});
}
@scheduler.Bind(Model.Appointments, Model.Resources).GetHtml()
Online Demos
Inheritance
Object
StateManager
CollectionItem
FABCollectionItemBase
FABActionBase
FABAction
FABCreateAppointmentAction
See Also
Feedback