File: src\Framework\System\Windows\Documents\RtfControlWordInfo.cs
Project: wpf\PresentationFramework.csproj (PresentationFramework)
//---------------------------------------------------------------------------
// 
// File: RtfControlWordInfo.cs
//
// Copyright (C) Microsoft Corporation.  All rights reserved.
//
// Description: Rtf control word information that specify the Rtf control word, 
//              name and flag.
//
//---------------------------------------------------------------------------
 
namespace System.Windows.Documents
{
    /// <summary>
    /// Rtf control word information that specify the Rtf control word, name and flag.
    /// </summary>
    internal class RtfControlWordInfo
    {
        // ---------------------------------------------------------------------
        //
        // Internal Methods
        //
        // ---------------------------------------------------------------------
 
        #region Internal Methods
 
        internal RtfControlWordInfo(RtfControlWord controlWord, string controlName, uint flags)
        {
            _controlWord = controlWord;
            _controlName = controlName;
            _flags = flags;
        }
 
        #endregion Internal Methods
 
        // ---------------------------------------------------------------------
        //
        // Internal Properties
        //
        // ---------------------------------------------------------------------
 
        #region Internal Properties
 
        internal RtfControlWord Control
        {
            get
            {
                return _controlWord;
            }
        }
 
        internal string ControlName
        {
            get
            {
                return _controlName;
            }
        }
 
        internal uint Flags
        {
            get
            {
                return _flags;
            }
        }
 
        #endregion Internal Properties
 
        // ---------------------------------------------------------------------
        //
        // Private Fields
        //
        // ---------------------------------------------------------------------
 
        #region Private Fields
 
        private RtfControlWord _controlWord;
        private string _controlName;
        private uint _flags;
 
        #endregion Private Fields
    }
}