/* 2008 Jos� Manuel Men�ndez Poo * * Please give me credit if you use this code. It's all I ask. * * Contact me for more info: menendezpoo@gmail.com * */ using System; using System.Collections.Generic; using System.Text; using System.Drawing; namespace System.Windows.Forms { public sealed class RibbonPanelRenderEventArgs : RibbonRenderEventArgs { private RibbonPanel _panel; public RibbonPanelRenderEventArgs(Ribbon owner, Graphics g, Rectangle clip, RibbonPanel panel, Control canvas) : base(owner, g, clip) { Panel = panel; Canvas = canvas; } /// <summary> /// Gets or sets the panel related to the events /// </summary> public RibbonPanel Panel { get { return _panel; } set { _panel = value; } } private Control _canvas; /// <summary> /// Gets or sets the control where the panel is being rendered /// </summary> public Control Canvas { get { return _canvas; } set { _canvas = value; } } } }
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.
This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)