Click here to Skip to main content
15,891,204 members
Articles / Desktop Programming / Windows Forms

GMarkupLabel - A C# Windows Forms control to display XML-formatted text

Rate me:
Please Sign up or sign in to vote.
4.95/5 (77 votes)
25 Nov 2008CPOL9 min read 131.9K   1.1K   166  
A framework, and a WinForms control which enables .NET 2.0 users to visualize XML-formatted rich text.
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace GFramework.View
{
    public class GInvalidatedEventData : GEventData
    {
        #region Constructor

        public GInvalidatedEventData(RectangleF[] invalidRects)
        {
            m_InvalidRects = invalidRects;
        }
        public GInvalidatedEventData(Region invalid)
        {
            m_InvalidRegion = invalid;
        }

        #endregion

        #region Properties

        public RectangleF[] InvalidRects
        {
            get
            {
                return m_InvalidRects;
            }
        }
        public Region InvalidRegion
        {
            get
            {
                return m_InvalidRegion;
            }
        }

        #endregion

        #region Fields

        internal RectangleF[] m_InvalidRects;
        internal Region m_InvalidRegion;

        #endregion
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Team Leader Telerik Corp.
Bulgaria Bulgaria
.NET & C# addicted. Win8 & WinRT enthusiast and researcher @Telerik.

Comments and Discussions