Class GanttAddDialogField
Defines the tabs and fields to be included in the add dialog.
Inherited Members
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttAddDialogField : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Constructors
GanttAddDialogField()
Declaration
public GanttAddDialogField()
Properties
Fields
Gets or sets an array of edited column fields placed inside the tab.
Declaration
[Parameter]
public string[] Fields { get; set; }
Property Value
| Type | Description |
|---|---|
| string[] | A string array representing the names of the edited column fields placed inside the tab. |
Remarks
Use this property to define the list of fields that will be displayed in the editing form for the corresponding tab. If this property is not set, all fields defined in the data source will be displayed in the editing form. Based on mapping taskfields will generated for general tabs for custom tabs it will be empty.
HeaderText
Gets or sets header text of tab item.
Declaration
[Parameter]
public string HeaderText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The text to display as the header of the tab item. |
Remarks
This property is used to set the header text of the tab item.
Type
Gets or sets types of tab which contains editor for columns.
General - Defines tab container type as general.
Dependency - Defines tab as dependency editor.
Resources - Defines tab as resources editor.
Segments - Defines tab as segments editor.
Notes - Defines tab as notes editor.
Custom - Defines the tab as a custom columns editor.
Declaration
[Parameter]
public GanttDialogFieldType Type { get; set; }
Property Value
| Type | Description |
|---|---|
| GanttDialogFieldType | The type of tab that contains editor for columns. |
Remarks
The value of this property determines the type of tab that contains the editor for columns.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
| Type | Name | Description |
|---|---|---|
| RenderTreeBuilder | __builder |
Overrides
Dispose(bool)
Dispose unmanaged resources in the Syncfusion Blazor component.
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing | Boolean value to dispose the object. |
Overrides
OnInitializedAsync()
Triggers during the initial rendering of the component.
Declaration
protected override Task OnInitializedAsync()
Returns
| Type | Description |
|---|---|
| Task | A Task representing the asynchronous operation. |
Overrides
OnParametersSetAsync()
Called by the framework when component parameters have been set. Executes logic that depends on the updated parameter values.
Declaration
protected override Task OnParametersSetAsync()
Returns
| Type |
|---|
| Task |