DocumentStatusResources.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / TrustUi / MS / Internal / documents / DocumentStatusResources.cs / 1 / DocumentStatusResources.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: 
//    DocumentStatusResources.
// 
// History:
// 06/10/05 - [....] created
//
//--------------------------------------------------------------------------- 

using System; 
using System.Collections.Generic; 
using System.Text;
 
namespace MS.Internal.Documents
{
    /// 
    /// A set of resources that describe overall document status 
    /// for a particular layer (RM, DigSig, etc.) designed to be directly
    /// injected into the UI. 
    ///  
    internal struct DocumentStatusResources
    { 
        /// 
        /// The image representing the current document status for the UI.
        /// 
        internal System.Windows.Media.DrawingBrush Image 
        {
            get 
            { 
                return _image;
            } 
            set
            {
                _image = value;
            } 
        }
 
        ///  
        /// The text representing the current document status for the UI.
        ///  
        internal string Text
        {
            get
            { 
                return _text;
            } 
            set 
            {
                _text = value; 
            }
        }

        ///  
        /// The ToolTip text for the hover states of any controls representing this status
        /// for the UI. 
        ///  
        internal string ToolTip
        { 
            get
            {
                return _toolTip;
            } 
            set
            { 
                _toolTip = value; 
            }
        } 

        // Private Fields
        private System.Windows.Media.DrawingBrush _image;
        private string _text; 
        private string _toolTip;
    } 
} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.


                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK