menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GanttSplitterSettings - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GanttSplitterSettings

    Configures gantt splitter settings collection.

    Inheritance
    System.Object
    SfBaseComponent
    SfDataBoundComponent
    GanttSplitterSettings
    Inherited Members
    SfBaseComponent.Dispose()
    SfBaseComponent.Dispose(Boolean)
    SfBaseComponent.GetEffectivePlatform()
    SfBaseComponent.GetMainComponentPlatform()
    SfBaseComponent.IsMainLicenseComponent()
    SfBaseComponent.LicenseContext
    SfBaseComponent.OnObservableChange(String, Object, Boolean, NotifyCollectionChangedEventArgs)
    SfBaseComponent.ValidateLicense()
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.SetDataManager<T>(Object)
    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()

    Triggers during the initial rendering of the component.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous operation.

    Overrides
    SfDataBoundComponent.OnInitializedAsync()

    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
    System.Threading.Tasks.Task
    Overrides
    SfDataBoundComponent.OnParametersSetAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved