// *********************************
// Message from Original Author:
//
// 2008 Jose Menendez Poo
// Please give me credit if you use this code. It's all I ask.
// Contact me for more info: menendezpoo@gmail.com
// *********************************
//
// Original project from http://ribbon.codeplex.com/
// Continue to support and maintain by http://officeribbon.codeplex.com/
using System.ComponentModel;
using System.Drawing;
namespace System.Windows.Forms
{
public class RibbonOrbOptionButton
: RibbonButton
{
#region Ctors
public RibbonOrbOptionButton()
{
}
public RibbonOrbOptionButton(string text)
: this()
{
Text = text;
}
#endregion
#region Props
///
/// This property is not relevant for this class
///
[Browsable(false)]
public override Image LargeImage
{
get => base.Image;
set => base.Image = value;
}
[DefaultValue(null)]
[Browsable(true)]
[Category("Appearance")]
public override Image Image
{
get => base.Image;
set
{
base.Image = value;
SmallImage = value;
}
}
///
/// This property is not relevant for this class
///
[Browsable(false)]
public override Image SmallImage
{
get => base.SmallImage;
set => base.SmallImage = value;
}
#endregion
}
}