using DevComponents.DotNetBar.Controls;
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;
namespace DevComponents.DotNetBar.Rendering
{
///
/// Provides data for the SideNavItem rendering events.
///
public class SideNavItemRendererEventArgs : EventArgs
{
///
/// Gets or sets the reference to the item being rendered.
///
public SideNavItem Item = null;
///
/// Gets or sets the reference to graphics object.
///
public Graphics Graphics = null;
///
/// Indicates whether to cancel system rendering of the item.
///
public bool Cancel = false;
internal ItemPaintArgs ItemPaintArgs = null;
///
/// Creates new instance of the object and initializes it with default values.
///
/// Reference to the ListBoxItem being rendered.
/// Reference to the graphics object.
public SideNavItemRendererEventArgs(SideNavItem item, Graphics g)
{
this.Item = item;
this.Graphics = g;
}
}
}