48 lines
1.2 KiB
C#
48 lines
1.2 KiB
C#
|
//---------------------------------------------------------------------------
|
||
|
//
|
||
|
// Copyright (C) Microsoft Corporation. All rights reserved.
|
||
|
//
|
||
|
//---------------------------------------------------------------------------
|
||
|
|
||
|
using System;
|
||
|
|
||
|
namespace ExtendedGrid.Microsoft.Windows.Controls
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Struct which holds block of realized column indices.
|
||
|
/// </summary>
|
||
|
internal struct RealizedColumnsBlock
|
||
|
{
|
||
|
public RealizedColumnsBlock(int startIndex, int endIndex, int startIndexOffset) : this()
|
||
|
{
|
||
|
StartIndex = startIndex;
|
||
|
EndIndex = endIndex;
|
||
|
StartIndexOffset = startIndexOffset;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Starting index of the block
|
||
|
/// </summary>
|
||
|
public int StartIndex
|
||
|
{
|
||
|
get; private set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// Ending index of the block
|
||
|
/// </summary>
|
||
|
public int EndIndex
|
||
|
{
|
||
|
get; private set;
|
||
|
}
|
||
|
|
||
|
/// <summary>
|
||
|
/// The count of realized columns before this block
|
||
|
/// </summary>
|
||
|
public int StartIndexOffset
|
||
|
{
|
||
|
get; private set;
|
||
|
}
|
||
|
}
|
||
|
}
|