This repository has been archived on 2024-01-02. You can view files and clone it, but cannot push or open issues or pull requests.
Sic06/FrameworkLocal/UIClient/DataGridTransform/DataGrid/Microsoft/Windows/Controls/RealizedColumnsBlock.cs

48 lines
1.2 KiB
C#
Raw Normal View History

2023-01-13 10:57:37 +08:00
//---------------------------------------------------------------------------
//
// 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;
}
}
}