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