HtmlChartScheduleEditingOptions
ChartForgeX.Interactivity.Html
Opts Gantt lane items into browser editing: add, move, resize, regroup and delete with the pointer or the keyboard. Every proposed edit is offered to the host first (the cancelable cfxscheduleedit event and an optional validator), and the accepted state is exported as JSON that HtmlScheduleEditState applies back to the chart for SVG, PNG and HTML rendering. Off by default; static output never carries editing.
Inheritance
- object
- HtmlChartScheduleEditingOptions
Usage
Explore 39 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 19
- Property HtmlChartInteractionOptions.ScheduleEditing
- Extension method HtmlChartScheduleEditingOptions.AllowAdd
- Extension method HtmlChartScheduleEditingOptions.AllowDelete
- Extension method HtmlChartScheduleEditingOptions.AllowMove
- Extension method HtmlChartScheduleEditingOptions.AllowRegroup
- Extension method HtmlChartScheduleEditingOptions.AllowResize
- Extension method HtmlChartScheduleEditingOptions.Enabled
- Extension method HtmlChartScheduleEditingOptions.NewItemCategory
- Extension method HtmlChartScheduleEditingOptions.NewItemMinutes
- Extension method HtmlChartScheduleEditingOptions.SnapMinutes
- Method HtmlChartScheduleEditingOptionsFluent.AllowAdd
- Method HtmlChartScheduleEditingOptionsFluent.AllowDelete
- Method HtmlChartScheduleEditingOptionsFluent.AllowMove
- Method HtmlChartScheduleEditingOptionsFluent.AllowRegroup
- Method HtmlChartScheduleEditingOptionsFluent.AllowResize
- Method HtmlChartScheduleEditingOptionsFluent.Enabled
- Method HtmlChartScheduleEditingOptionsFluent.NewItemCategory
- Method HtmlChartScheduleEditingOptionsFluent.NewItemMinutes
- Method HtmlChartScheduleEditingOptionsFluent.SnapMinutes
Accepted by parameters 20
- Extension method HtmlChartInteractionOptions.ScheduleEditing
- Method HtmlChartInteractionOptionsFluent.ScheduleEditing
- Extension method HtmlChartScheduleEditingOptions.AllowAdd
- Extension method HtmlChartScheduleEditingOptions.AllowDelete
- Extension method HtmlChartScheduleEditingOptions.AllowMove
- Extension method HtmlChartScheduleEditingOptions.AllowRegroup
- Extension method HtmlChartScheduleEditingOptions.AllowResize
- Extension method HtmlChartScheduleEditingOptions.Enabled
- Extension method HtmlChartScheduleEditingOptions.NewItemCategory
- Extension method HtmlChartScheduleEditingOptions.NewItemMinutes
- Extension method HtmlChartScheduleEditingOptions.SnapMinutes
- Method HtmlChartScheduleEditingOptionsFluent.AllowAdd
- Method HtmlChartScheduleEditingOptionsFluent.AllowDelete
- Method HtmlChartScheduleEditingOptionsFluent.AllowMove
- Method HtmlChartScheduleEditingOptionsFluent.AllowRegroup
- Method HtmlChartScheduleEditingOptionsFluent.AllowResize
- Method HtmlChartScheduleEditingOptionsFluent.Enabled
- Method HtmlChartScheduleEditingOptionsFluent.NewItemCategory
- Method HtmlChartScheduleEditingOptionsFluent.NewItemMinutes
- Method HtmlChartScheduleEditingOptionsFluent.SnapMinutes
Constructors
public HtmlChartScheduleEditingOptions() #Inherited Methods
Properties
public bool Enabled { get; set; } #Gets or sets whether Gantt lane items are editable. Default: false.
public bool AllowAdd { get; set; } #Gets or sets whether new items can be added (double-click an empty lane, or Insert on a focused item). Default: true.
public bool AllowMove { get; set; } #Gets or sets whether items can move in time. Default: true.
public bool AllowResize { get; set; } #Gets or sets whether item starts and ends can be resized. Default: true.
public bool AllowRegroup { get; set; } #Gets or sets whether items can move to another lane. Default: true.
public bool AllowDelete { get; set; } #Gets or sets whether items can be deleted. Default: true.
public double SnapMinutes { get; set; } #Gets or sets the snapping and keyboard step, in minutes. Default: 15.
public double NewItemMinutes { get; set; } #Gets or sets the length of an added item, in minutes. Default: 60.
public string? NewItemCategory { get; set; } #Gets or sets the category key of added items, or null to use the first registered state category.
Extension Methods
public static HtmlChartScheduleEditingOptions AllowAdd(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.AllowAdd: Gets or sets whether new items can be added (double-click an empty lane, or Insert on a focused item). Default: true.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { AllowAdd = value }; htmlChartScheduleEditingOptions.AllowAdd(value);public static HtmlChartScheduleEditingOptions AllowDelete(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.AllowDelete: Gets or sets whether items can be deleted. Default: true.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { AllowDelete = value }; htmlChartScheduleEditingOptions.AllowDelete(value);public static HtmlChartScheduleEditingOptions AllowMove(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.AllowMove: Gets or sets whether items can move in time. Default: true.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { AllowMove = value }; htmlChartScheduleEditingOptions.AllowMove(value);public static HtmlChartScheduleEditingOptions AllowRegroup(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.AllowRegroup: Gets or sets whether items can move to another lane. Default: true.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { AllowRegroup = value }; htmlChartScheduleEditingOptions.AllowRegroup(value);public static HtmlChartScheduleEditingOptions AllowResize(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.AllowResize: Gets or sets whether item starts and ends can be resized. Default: true.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { AllowResize = value }; htmlChartScheduleEditingOptions.AllowResize(value);public static HtmlChartScheduleEditingOptions Enabled(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, bool value = true) #Sets HtmlChartScheduleEditingOptions.Enabled: Gets or sets whether Gantt lane items are editable. Default: false.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { Enabled = value }; htmlChartScheduleEditingOptions.Enabled(value);public static HtmlChartScheduleEditingOptions NewItemCategory(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, string? value) #Sets HtmlChartScheduleEditingOptions.NewItemCategory: Gets or sets the category key of added items, or null to use the first registered state category.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { NewItemCategory = value }; htmlChartScheduleEditingOptions.NewItemCategory(value);public static HtmlChartScheduleEditingOptions NewItemMinutes(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, double value) #Sets HtmlChartScheduleEditingOptions.NewItemMinutes: Gets or sets the length of an added item, in minutes. Default: 60.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { NewItemMinutes = value }; htmlChartScheduleEditingOptions.NewItemMinutes(value);public static HtmlChartScheduleEditingOptions SnapMinutes(HtmlChartScheduleEditingOptions htmlChartScheduleEditingOptions, double value) #Sets HtmlChartScheduleEditingOptions.SnapMinutes: Gets or sets the snapping and keyboard step, in minutes. Default: 15.
Parameters
- htmlChartScheduleEditingOptions ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ChartForgeX.Interactivity.Html.HtmlChartScheduleEditingOptions { SnapMinutes = value }; htmlChartScheduleEditingOptions.SnapMinutes(value);