Why is the swimlane I created not blue but white?

I created swimlane in diagram folowing the documentation, but my swimlane isn't blue but while

like that

ser.PNGI didn't modify swimlane's style or 


3 Replies 1 reply marked as answer

DT Deepa Thiruppathy Syncfusion Team March 9, 2022 01:32 PM UTC

Hi Tealer, 
 
Reported issue: Swimlane object created as transparent styles.  
  
We have validated the reported issue. When creating header for Swimlane, Lane and Phase use SwimlaneHeaderViewModel object instead of SwimlaneHeader. 
 
Code snippet: 
//Creating Header for SwimlaneViewModel using SwimlaneHeaderViewModel 
swimlane.Header = new SwimlaneHeaderViewModel() 
{ 
    UnitHeight = 50, 
    Annotation = new AnnotationEditorViewModel() 
    { 
        Content = "Main program cycle" 
    }, 
}; 
 
 
Regards, 
Deepa Thiruppathy 


Marked as answer

TE tealer March 9, 2022 07:27 PM UTC

Thank you for solving my problem, it's work good now.



DT Deepa Thiruppathy Syncfusion Team March 10, 2022 05:55 AM UTC

Welcome. Please let us know if you need any further assistance.

Loader.
Up arrow icon