57 lines
1.3 KiB
C#

using System.ComponentModel;
using System.Drawing;
namespace DevComponents.DotNetBar.Charts.Style
{
/// <summary>
/// Represents the visual style of a Legend element.
/// </summary>
[TypeConverter(typeof(VisualStylesConverter))]
public class DividerLineVisualStyle : ChartLineVisualStyle
{
#region ApplyStyle
/// <summary>
/// Applies the style to the instance of this style.
/// </summary>
/// <param name="style">Style to apply.</param>
public void ApplyStyle(DividerLineVisualStyle style)
{
if (style != null)
base.ApplyStyle(style);
}
#endregion
#region Copy
/// <summary>
/// Returns the copy of the style.
/// </summary>
/// <returns>Copy of the style.</returns>
public new DividerLineVisualStyle Copy()
{
DividerLineVisualStyle style = new DividerLineVisualStyle();
CopyTo(style);
return (style);
}
#endregion
#region CopyTo
/// <summary>
/// Returns the copy of the style.
/// </summary>
/// <returns>Copy of the style.</returns>
public void CopyTo(DividerLineVisualStyle style)
{
base.CopyTo(style);
}
#endregion
}
}