//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//---------------------------------------------------------------------------
using System;
using System.ComponentModel;
using System.Globalization;
using System.Windows;
namespace ExtendedGrid.Microsoft.Windows.Controls
{
///
/// Used to indicate the type of value that DataGridLength is holding.
///
public enum DataGridLengthUnitType
{
// Keep in sync with DataGridLengthConverter.UnitStrings
///
/// The value indicates that content should be calculated based on the
/// unconstrained sizes of all cells and header in a column.
///
Auto,
///
/// The value is expressed in pixels.
///
Pixel,
///
/// The value indicates that content should be be calculated based on the
/// unconstrained sizes of all cells in a column.
///
SizeToCells,
///
/// The value indicates that content should be calculated based on the
/// unconstrained size of the column header.
///
SizeToHeader,
///
/// The value is expressed as a weighted proportion of available space.
///
Star,
}
}