Class GanttSplitterSettings
Configures gantt splitter settings collection.
Inherited Members
Namespace: Syncfusion.Blazor.Gantt
Assembly: Syncfusion.Blazor.dll
Syntax
public class GanttSplitterSettings : SfDataBoundComponent
Constructors
GanttSplitterSettings()
Declaration
public GanttSplitterSettings()
Properties
Collapsible
This property is used to enable/disable splitter expand collapse feature in Gantt chart.
Declaration
public bool Collapsible { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | boolean value to enable/disable expand/collapse feature |
Remarks
It enables expand collapse icon near splitter resizer.
ColumnIndex
Defines the index of the column where the splitter bar is to be positioned in the grid.
If ColumnIndex
set as 2
then splitter bar placed at third column of grid.
Declaration
public int ColumnIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer value representing the column index. The default value is -1. |
Remarks
This property is used to specify the location of the splitter bar in relation to the columns of the grid. If the index value is not added, the default value should be 250px. Otherwise, the value should be set to the index of the column where the splitter bar should be positioned. For example, if the value is set to 2, the splitter bar will be positioned at the third column of the grid.
Minimum
Gets or sets the minimum width of the grid part where the splitter is located.
Declaration
public string Minimum { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the minimum width of the grid part. The default value is null. |
Remarks
This property is used to set the minimum width of the grid part where the splitter is located. When the user tries to move the splitter to a position that would result in a width smaller than the minimum value, the splitter will stop moving and stay at its current position.
Position
Gets or sets the initial position of the splitter in pixels.
Declaration
public string Position { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing the initial position of the splitter in pixels. |
Remarks
This property is used to set the initial position of the splitter when the component is first loaded. The position value should be specified as a string, representing the number of pixels from the left of the grid, depending on the orientation of the splitter. If the value is null, the position of the splitter will be set to the 250px from the left of the grid.
SeparatorSize
Defines the size of the splitter bar for separating content in a control.
Declaration
public double SeparatorSize { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The size of the splitter bar in pixels. Default value is 4. |
Remarks
This property specifies the size of the splitter bar in pixels. The splitter bar is used to separate Gantt chart content,into grid view and chart view. The size of the splitter bar can be adjusted by the user in some scenarios, but this property sets the default size for the splitter bar. The value of this property must be greater than or equal to zero.
View
Defines the predefined view of the Gantt chart.
Default
- Shows Grid side and Chart side of Gantt chart.
Grid
- Shows grid side alone in Gantt.
Chart
- Shows chart side alone in Gantt.
Declaration
public SplitterView View { get; set; }
Property Value
Type | Description |
---|---|
SplitterView | A string that specifies the predefined view of the Gantt chart. |
Remarks
This property specifies the predefined view of the Gantt chart. The Gantt chart displays tasks and their dependencies over a timeline. This property can be used to control which side(s) of the Gantt chart are visible by default.
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder | __builder |
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
Type |
---|
System.Threading.Tasks.Task |