Class AppointmentBuilder
A builder class that holds appointment menu items.
Inheritance
System.Object
AppointmentBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class AppointmentBuilder
Constructors
AppointmentBuilder()
Initializes a new instance of the AppointmentBuilder class.
Declaration
public AppointmentBuilder()
AppointmentBuilder(Schedule)
Initializes a new instance of the AppointmentBuilder class.
Declaration
public AppointmentBuilder(Schedule appointment)
Parameters
Type | Name | Description |
---|---|---|
Schedule | appointment | It accepts the appointment menu items and displays on context menu. |
Methods
Add()
It adds the appointment menu items to the context menu.
Declaration
public void Add()
Id(String)
This fields stores the id value for an appointment menu item.
Declaration
public AppointmentBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | It accepts the id value of an appointment menu item. |
Returns
Type | Description |
---|---|
AppointmentBuilder |
ParentId(String)
This fields stores the parent id value for an appointment menu item.
Declaration
public AppointmentBuilder ParentId(string parentId)
Parameters
Type | Name | Description |
---|---|---|
System.String | parentId | It accepts the parent id value for an appointment menu item. |
Returns
Type | Description |
---|---|
AppointmentBuilder |
Text(String)
This fields stores the text value for an appointment menu item.
Declaration
public AppointmentBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | It accepts the text value of an appointment menu item. |
Returns
Type | Description |
---|---|
AppointmentBuilder |