Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
143245 | Mar 11,2019 04:10 PM UTC | Mar 12,2019 12:01 PM UTC | WinForms | 1 |
![]() |
Tags: ScheduleControl |
this.scheduleControl1.GetScheduleHost().QueryRowHeight += Form1_QueryRowHeight;
this.scheduleControl1.GetScheduleHost().CellDrawn += Form1_CellDrawn;
private void Form1_QueryRowHeight(object sender, Syncfusion.Windows.Forms.Grid.GridRowColSizeEventArgs e)
{
if (e.Index < 18 || e.Index > 35)
{
e.Size = 0;
e.Handled = true;
}
}
private void Form1_CellDrawn(object sender, Syncfusion.Windows.Forms.Grid.GridDrawCellEventArgs e)
{
if (e.RowIndex == 18)
{
e.Style.Borders.Top = e.Style.Borders.Bottom;
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.