﻿@using System.Web.UI.WebControls;

@Html.DevExpress().Splitter(settings =>
{
    settings.Name = "StageInformationWorkflowSplitter";
    settings.Width = Unit.Percentage(100);
    settings.Height = Unit.Percentage(100);
    settings.ClientSideEvents.PaneResizeCompleted = "RzHistory.ProcessHistoryPanelResize";
    settings.ClientSideEvents.Init = "function(){MindFusionDiagram.init(null,null,null,'diagramWorkflow')}";
    

    settings.Panes.Add(contentPane =>
    {
        contentPane.Panes.Add(listBoxPane =>
        {
            listBoxPane.Name = "MindfusionDiagramWorkflow";
            listBoxPane.ScrollBars = ScrollBars.Auto;
            listBoxPane.SetContent(() =>
            {
                Html.RenderPartial("../PropertyCard/Processes/ProcessInformation/Workflow/StageInformationWorkflow");
            });
        });
    });
}).GetHtml()
