File: src\Framework\MS\Internal\Documents\ITextBoxViewHost.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
//---------------------------------------------------------------------------
//
// Copyright (C) Microsoft Corporation.  All rights reserved.
//
// File: ITextBoxViewHost.cs
//
// Description: Interface for Controls hosting TextBoxView.
//
//---------------------------------------------------------------------------
 
namespace System.Windows.Controls
{
    using System.Windows.Documents;
 
    // Controls built on TextBoxView must implement this interface
    // which is passed to the TextBoxView ctor.
    // TextBoxView requires that the object implementing ITextBoxViewHost
    // is additionally a Control.
    internal interface ITextBoxViewHost
    {
        //------------------------------------------------------
        //
        //  Internal Properties
        //
        //------------------------------------------------------
 
        #region Internal Properties
 
        // ITextContainer holding the Control content.
        ITextContainer TextContainer { get; }
 
        // Set true when typography property values are all default values.
        bool IsTypographyDefaultValue { get; }
 
        #endregion Internal Properties
    }
}