Source/Ribbon/RibbonControlPainter.cs

(完整代码) 1KB

using System;
using System.Text;
using System.Drawing;

namespace DevComponents.DotNetBar
{
    /// <summary>
    /// Represents base class for Ribbon Control painting.
    /// </summary>
    internal class RibbonControlPainter
    {
        /// <summary>
        /// Paints controls background
        /// </summary>
        public virtual void PaintBackground(RibbonControlRendererEventArgs e)
        {
        }

        /// <summary>
        /// Paints form caption background
        /// </summary>
        public virtual void PaintCaptionBackground(RibbonControlRendererEventArgs e, Rectangle displayRect)
        {
        }

        /// <summary>
        /// Paints form caption text when ribbon control is displaying form caption
        /// </summary>
        public virtual void PaintCaptionText(RibbonControlRendererEventArgs e) { }

        /// <summary>
        /// Paints the background of quick access toolbar.
        /// </summary>
        public virtual void PaintQuickAccessToolbarBackground(RibbonControlRendererEventArgs e) { }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。