File: System\Windows\Controls\RealizedColumnsBlock.cs
Web Access
Project: src\src\Microsoft.DotNet.Wpf\src\PresentationFramework\PresentationFramework.csproj (PresentationFramework)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
namespace System.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; 
        }
    }
}