using DevComponents.DotNetBar.Controls; using System; using System.Text; namespace DevComponents.DotNetBar.Rendering { /// /// Represents bases class that defines a renderer. /// public abstract class BaseRenderer { #region Events /// /// Occurs when KeyTip is rendered. /// public event KeyTipsRendererEventHandler RenderKeyTips; /// /// Occurs when ribbon tab group is rendered. /// public event RibbonTabGroupRendererEventHandler RenderRibbonTabGroup; /// /// Occurs when ItemContainer is rendered. /// public event ItemContainerRendererEventHandler RenderItemContainer; /// /// Occurs when separator is drawn for an item inside of ItemContainer. /// public event ItemContainerSeparatorRendererEventHandler RenderItemContainerSeparator; /// /// Occurs when ButtonItem is rendered. /// public event ButtonItemRendererEventHandler RenderButtonItem; /// /// Occurs when RibbonTabItem is rendered. /// public event RibbonTabItemRendererEventHandler RenderRibbonTabItem; /// /// Occurs when docked or floating toolbar is rendered. /// public event ToolbarRendererEventHandler RenderToolbarBackground; /// /// Occurs when popup toolbar is rendered. /// public event ToolbarRendererEventHandler RenderPopupToolbarBackground; /// /// Occurs when dialog launcher button on ribbon bar is rendered. /// public event RibbonBarRendererEventHandler RenderRibbonDialogLauncher; /// /// Occurs when Ribbon Control background is rendered. /// public event RibbonControlRendererEventHandler RenderRibbonControlBackground; /// /// Occurs when form caption text on ribbon control is rendered. /// public event RibbonControlRendererEventHandler RenderRibbonFormCaptionText; /// /// Occurs when Quick Access Toolbar background is rendered. /// public event RibbonControlRendererEventHandler RenderQuickAccessToolbarBackground; ///// ///// Occurs when ribbon bar background is rendered. ///// //public event RibbonBarRendererEventHandler RenderRibbonBarBackground; ///// ///// Occurs when ribbon bar title is rendered. ///// //public event RibbonBarRendererEventHandler RenderRibbonBarTitle; /// /// Occurs when ColorItem is rendered. /// public event ColorItemRendererEventHandler RenderColorItem; /// /// Occurs when SystemCaptionItem is rendered. /// public event SystemCaptionItemRendererEventHandler RenderSystemCaptionItem; /// /// Occurs when MdiSystemItem is rendered. /// public event MdiSystemItemRendererEventHandler RenderMdiSystemItem; /// /// Occurs when form caption is background is being rendered. /// public event FormCaptionRendererEventHandler RenderFormCaptionBackground; /// /// Occurs when quick access toolbar overflow item is being rendered. /// public event QatOverflowItemRendererEventHandler RenderQatOverflowItem; /// /// Occurs when quick access toolbar customize item is being rendered. /// public event QatCustomizeItemRendererEventHandler RenderQatCustomizeItem; /// /// Occurs when CheckBoxItem is being rendered. /// public event CheckBoxItemRendererEventHandler RenderCheckBoxItem; /// /// Occurs when ProgressBarItem is being rendered. /// public event ProgressBarItemRendererEventHandler RenderProgressBarItem; /// /// Occurs when Navigation pane button background is being rendered. /// public event NavPaneRendererEventHandler RenderNavPaneButtonBackground; /// /// Occurs when Slider item is being rendered. /// public event SliderItemRendererEventHandler RenderSliderItem; /// /// Occurs when Range Slider item is being rendered. /// public event RangeSliderItemRendererEventHandler RenderRangeSliderItem; /// /// Occurs when SideBar control is being rendered. /// public event SideBarRendererEventHandler RenderSideBar; /// /// Occurs when SideBarPanelItem control is being rendered. /// public event SideBarPanelItemRendererEventHandler RenderSideBarPanelItem; /// /// Occurs when CrumbBarItemView is rendered. /// public event ButtonItemRendererEventHandler RenderCrumbBarItemView; /// /// Occurs when CrumbBarOverflowButton is rendered. /// public event ButtonItemRendererEventHandler RenderCrumbBarOverflowItem; /// /// Occurs when Slider item is being rendered. /// public event SwitchButtonRendererEventHandler RenderSwitchButton; /// /// Occurs when StepItem is being rendered. /// public event StepItemRendererEventHandler RenderStepItem; /// /// Occurs when ListBoxItem is being rendered. /// public event ListBoxItemRendererEventHandler RenderListBoxItem; /// /// Occurs when SideNavItem is being rendered. /// public event SideNavItemRendererEventHandler RenderSideNavItem; /// /// Occurs when TabStrip is being rendered. /// public event TabFormStripRendererEventHandler RenderTabFormStrip; /// /// Occurs when TabFormItem is rendered. /// public event ButtonItemRendererEventHandler RenderTabFormItem; /// /// Occurs when NewTabFormItem is rendered. /// public event ButtonItemRendererEventHandler RenderNewTabFormItem; /// /// Occurs when TabParentForm is being rendered. /// public event TabFormRendererEventHandler RenderTabParentForm; #endregion #region Internal Implementation /// /// Raises RenderKeyTips event. /// /// Provides context information. protected virtual void OnRenderKeyTips(KeyTipsRendererEventArgs e) { if (RenderKeyTips != null) RenderKeyTips(this, e); } /// /// Draws KeyTip for an object. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderKeyTips method so events can occur. /// /// Provides context information. public virtual void DrawKeyTips(KeyTipsRendererEventArgs e) { OnRenderKeyTips(e); } /// /// Raises RenderRibbonTabGroup event. /// /// Provides context information. protected virtual void OnRenderRibbonTabGroup(RibbonTabGroupRendererEventArgs e) { if (RenderRibbonTabGroup != null) RenderRibbonTabGroup(this, e); } /// /// Draws ribbon tab group. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonTabGroup method so events can occur. /// /// Provides context information. public virtual void DrawRibbonTabGroup(RibbonTabGroupRendererEventArgs e) { OnRenderRibbonTabGroup(e); } /// /// Raises RenderItemContainer event. /// /// Provides context information. protected virtual void OnRenderItemContainer(ItemContainerRendererEventArgs e) { if (RenderItemContainer != null) RenderItemContainer(this, e); } /// /// Draws the separator for an item inside of item container. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderItemContainerSeparator method so events can occur. /// /// Provides context information. public virtual void DrawItemContainerSeparator(ItemContainerSeparatorRendererEventArgs e) { OnRenderItemContainerSeparator(e); } /// /// Raises RenderItemContainer event. /// /// Provides context information. protected virtual void OnRenderItemContainerSeparator(ItemContainerSeparatorRendererEventArgs e) { if (RenderItemContainerSeparator != null) RenderItemContainerSeparator(this, e); } /// /// Draws item container. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderItemContainer method so events can occur. /// /// Provides context information. public virtual void DrawItemContainer(ItemContainerRendererEventArgs e) { OnRenderItemContainer(e); } /// /// Raises RenderButtonItem event. /// /// Provides context information. protected virtual void OnRenderButtonItem(ButtonItemRendererEventArgs e) { if (RenderButtonItem != null) RenderButtonItem(this, e); } /// /// Draws ButtonItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderButtonItem method so events can occur. /// /// Provides context information. public virtual void DrawButtonItem(ButtonItemRendererEventArgs e) { OnRenderButtonItem(e); } /// /// Raises RenderRibbonTabItem event. /// /// Provides context information. protected virtual void OnRenderRibbonTabItem(RibbonTabItemRendererEventArgs e) { if (RenderRibbonTabItem != null) RenderRibbonTabItem(this, e); } /// /// Draws RibbonTabItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonTabItem method so events can occur. /// /// Provides context information. public virtual void DrawRibbonTabItem(RibbonTabItemRendererEventArgs e) { OnRenderRibbonTabItem(e); } /// /// Raises RenderToolbarBackground event. /// /// Provides context information. protected virtual void OnRenderToolbarBackground(ToolbarRendererEventArgs e) { if (RenderToolbarBackground != null) RenderToolbarBackground(this, e); } /// /// Draws docked or floating toolbar background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderToolbarBackground method so events can occur. /// /// Provides context information. public virtual void DrawToolbarBackground(ToolbarRendererEventArgs e) { OnRenderToolbarBackground(e); } /// /// Raises RenderPopupToolbarBackground event. /// /// Provides context information. protected virtual void OnRenderPopupToolbarBackground(ToolbarRendererEventArgs e) { if (RenderPopupToolbarBackground != null) RenderPopupToolbarBackground(this, e); } /// /// Draws popup toolbar background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderPopupToolbarBackground method so events can occur. /// /// Provides context information. public virtual void DrawPopupToolbarBackground(ToolbarRendererEventArgs e) { OnRenderPopupToolbarBackground(e); } /// /// Raises RenderRibbonDialogLauncher event. /// /// Provides context information. protected virtual void OnRenderRibbonDialogLauncher(RibbonBarRendererEventArgs e) { if (RenderRibbonDialogLauncher != null) RenderRibbonDialogLauncher(this, e); } /// /// Draws ribbon bar dialog launcher button. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonDialogLauncher method so events can occur. /// /// Provides context information. public virtual void DrawRibbonDialogLauncher(RibbonBarRendererEventArgs e) { OnRenderRibbonDialogLauncher(e); } /// /// Raises RenderColorItem event event. /// /// Provides context information. protected virtual void OnRenderColorItem(ColorItemRendererEventArgs e) { if (RenderColorItem != null) RenderColorItem(this, e); } /// /// Draws ColorItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderColorItem method so events can occur. /// /// Provides context information. public virtual void DrawColorItem(ColorItemRendererEventArgs e) { OnRenderColorItem(e); } ///// ///// Raises RenderRibbonBarBackground event. ///// ///// Provides context information. //protected virtual void OnRenderRibbonBarBackground(RibbonBarRendererEventArgs e) //{ // if (RenderRibbonBarBackground != null) // RenderRibbonBarBackground(this, e); //} ///// ///// Draws ribbon bar background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you ///// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonBarBackground method so events can occur. ///// ///// Provides context information. //public virtual void DrawRibbonBarBackground(RibbonBarRendererEventArgs e) //{ // OnRenderRibbonBarBackground(e); //} ///// ///// Raises RenderRibbonBarTitle event. ///// ///// Provides context information. //protected virtual void OnRenderRibbonBarTitle(RibbonBarRendererEventArgs e) //{ // if (RenderRibbonBarTitle != null) // RenderRibbonBarTitle(this, e); //} ///// ///// Draws ribbon bar title. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you ///// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonBarTitle method so events can occur. ///// ///// Provides context information. //public virtual void DrawRibbonBarTitle(RibbonBarRendererEventArgs e) //{ // OnRenderRibbonBarTitle(e); //} /// /// Raises RenderRibbonControlBackground event event. /// /// Provides context information. protected virtual void OnRenderRibbonControlBackground(RibbonControlRendererEventArgs e) { if (RenderRibbonControlBackground != null) RenderRibbonControlBackground(this, e); } /// /// Draws the background of the Ribbon Control. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonControlBackground method so events can occur. /// /// Provides context information. public virtual void DrawRibbonControlBackground(RibbonControlRendererEventArgs e) { OnRenderRibbonControlBackground(e); } /// /// Raises RenderSystemCaptionItem event event. /// /// Provides context information. protected virtual void OnRenderSystemCaptionItem(SystemCaptionItemRendererEventArgs e) { if (RenderSystemCaptionItem != null) RenderSystemCaptionItem(this, e); } /// /// Draws the SystemCaptionItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderSystemCaptionItem method so events can occur. /// /// Provides context information. public virtual void DrawSystemCaptionItem(SystemCaptionItemRendererEventArgs e) { OnRenderSystemCaptionItem(e); } /// /// Raises RenderRibbonFormCaptionText event event. /// /// Provides context information. protected virtual void OnRenderRibbonFormCaptionText(RibbonControlRendererEventArgs e) { if (RenderRibbonFormCaptionText != null) RenderRibbonFormCaptionText(this, e); } /// /// Draws the form caption text for the Ribbon Control. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRibbonFormCaptionText method so events can occur. /// /// Provides context information. public virtual void DrawRibbonFormCaptionText(RibbonControlRendererEventArgs e) { OnRenderRibbonFormCaptionText(e); } /// /// Raises RenderQuickAccessToolbarBackground event event. /// /// Provides context information. protected virtual void OnRenderQuickAccessToolbarBackground(RibbonControlRendererEventArgs e) { if (RenderQuickAccessToolbarBackground != null) RenderQuickAccessToolbarBackground(this, e); } /// /// Draws the background of Quick Access Toolbar on Ribbon Control. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderQuickAccessToolbarBackground method so events can occur. /// /// Provides context information. public virtual void DrawQuickAccessToolbarBackground(RibbonControlRendererEventArgs e) { OnRenderQuickAccessToolbarBackground(e); } /// /// Raises RenderMdiSystemItem event. /// /// Provides context information. protected virtual void OnRenderMdiSystemItem(MdiSystemItemRendererEventArgs e) { if (RenderMdiSystemItem != null) RenderMdiSystemItem(this, e); } /// /// Draws the MdiSystemItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderMdiSystemItem method so events can occur. /// /// Provides context information. public virtual void DrawMdiSystemItem(MdiSystemItemRendererEventArgs e) { OnRenderMdiSystemItem(e); } #endregion #region Form Caption /// /// Raises RenderFormCaptionBackground event. /// /// Provides context information. protected virtual void OnRenderFormCaptionBackground(FormCaptionRendererEventArgs e) { if (RenderFormCaptionBackground != null) RenderFormCaptionBackground(this, e); } /// /// Draws the form caption background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderFormCaptionBackground method so events can occur. /// /// Provides context information. public virtual void DrawFormCaptionBackground(FormCaptionRendererEventArgs e) { OnRenderFormCaptionBackground(e); } #endregion #region QAT Overflow/Customize Item /// /// Raises RenderQatOverflowItem event. /// /// Provides context information. protected virtual void OnRenderQatOverflowItem(QatOverflowItemRendererEventArgs e) { if (RenderQatOverflowItem != null) RenderQatOverflowItem(this, e); } /// /// Draws the Quick Access Toolbar Overflow item. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderQatOverflowItem method so events can occur. /// /// Provides context information. public virtual void DrawQatOverflowItem(QatOverflowItemRendererEventArgs e) { OnRenderQatOverflowItem(e); } /// /// Raises RenderQatCustomizeItem event. /// /// Provides context information. protected virtual void OnRenderQatCustomizeItem(QatCustomizeItemRendererEventArgs e) { if (RenderQatCustomizeItem != null) RenderQatCustomizeItem(this, e); } /// /// Draws the Quick Access Toolbar Customize Item. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderQatCustomizeItem method so events can occur. /// /// Provides context information. public virtual void DrawQatCustomizeItem(QatCustomizeItemRendererEventArgs e) { OnRenderQatCustomizeItem(e); } #endregion #region CheckBoxItem /// /// Raises RenderCheckBoxItem event. /// /// Provides context information. protected virtual void OnRenderCheckBoxItem(CheckBoxItemRenderEventArgs e) { if (RenderCheckBoxItem != null) RenderCheckBoxItem(this, e); } /// /// Draws the CheckBoxItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderCheckBoxItem method so events can occur. /// /// Provides context information. public virtual void DrawCheckBoxItem(CheckBoxItemRenderEventArgs e) { OnRenderCheckBoxItem(e); } #endregion #region ProgressBarItem /// /// Raises RenderCheckBoxItem event. /// /// Provides context information. protected virtual void OnRenderProgressBarItem(ProgressBarItemRenderEventArgs e) { if (RenderProgressBarItem != null) RenderProgressBarItem(this, e); } /// /// Draws the ProgressBarItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderProgressBarItem method so events can occur. /// /// Provides context information. public virtual void DrawProgressBarItem(ProgressBarItemRenderEventArgs e) { OnRenderProgressBarItem(e); } #endregion #region Navigation Pane /// /// Raises RenderNavPaneButtonBackground event. /// /// Provides context information. protected virtual void OnRenderNavPaneButtonBackground(NavPaneRenderEventArgs e) { if (RenderNavPaneButtonBackground != null) RenderNavPaneButtonBackground(this, e); } /// /// Draws the Navigation Pane button background. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderNavPaneButtonBackground method so events can occur. /// /// Provides context information. public virtual void DrawNavPaneButtonBackground(NavPaneRenderEventArgs e) { OnRenderNavPaneButtonBackground(e); } #endregion #region SliderItem /// /// Raises RenderSliderItem event. /// /// Provides context information. protected virtual void OnRenderSliderItem(SliderItemRendererEventArgs e) { if (RenderSliderItem!= null) RenderSliderItem(this, e); } /// /// Draws the Slider item. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderSliderItem method so events can occur. /// /// Provides context information. public virtual void DrawSliderItem(SliderItemRendererEventArgs e) { OnRenderSliderItem(e); } #endregion #region SideBar Control /// /// Raises RenderSideBar event. /// /// Provides context information. protected virtual void OnRenderSideBar(SideBarRendererEventArgs e) { if (RenderSideBar != null) RenderSideBar(this, e); } /// /// Draws the SideBar control. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderSideBar method so events can occur. /// /// Provides context information. public virtual void DrawSideBar(SideBarRendererEventArgs e) { OnRenderSideBar(e); } /// /// Raises RenderSideBarPanelItem event. /// /// Provides context information. protected virtual void OnRenderSideBarPanelItem(SideBarPanelItemRendererEventArgs e) { if (RenderSideBarPanelItem != null) RenderSideBarPanelItem(this, e); } /// /// Draws the SideBar control. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderSideBarPanelItem method so events can occur. /// /// Provides context information. public virtual void DrawSideBarPanelItem(SideBarPanelItemRendererEventArgs e) { OnRenderSideBarPanelItem(e); } #endregion #region CrumbBar /// /// Raises RenderCrumbBarItemView event. /// /// Provides context information. protected virtual void OnRenderCrumbBarItemView(ButtonItemRendererEventArgs e) { if (RenderCrumbBarItemView != null) RenderCrumbBarItemView(this, e); } /// /// Draws CrumbBarItemView. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderCrumbBarItemView method so events can occur. /// /// Provides context information. public virtual void DrawCrumbBarItemView(ButtonItemRendererEventArgs e) { OnRenderCrumbBarItemView(e); } /// /// Raises RenderCrumbBarOverflowItem event. /// /// Provides context information. protected virtual void OnRenderCrumbBarOverflowItem(ButtonItemRendererEventArgs e) { if (RenderCrumbBarOverflowItem != null) RenderCrumbBarOverflowItem(this, e); } /// /// Draws CrumbBarOverflowButton. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderCrumbBarOverflowItem method so events can occur. /// /// Provides context information. public virtual void DrawCrumbBarOverflowItem(ButtonItemRendererEventArgs e) { OnRenderCrumbBarOverflowItem(e); } #endregion #region SwitchButton /// /// Raises RenderSwitchButton event. /// /// Provides context information. protected virtual void OnRenderSwitchButton(SwitchButtonRenderEventArgs e) { if (RenderSwitchButton != null) RenderSwitchButton(this, e); } /// /// Draws the Switch Button. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderSwitchButton method so events can occur. /// /// Provides context information. public virtual void DrawSwitchButton(SwitchButtonRenderEventArgs e) { OnRenderSwitchButton(e); } #endregion #region RangeSliderItem /// /// Raises RenderRangeSliderItem event. /// /// Provides context information. protected virtual void OnRenderRangeSliderItem(RangeSliderItemRendererEventArgs e) { if (RenderRangeSliderItem != null) RenderRangeSliderItem(this, e); } /// /// Draws the Range Slider item. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderRangeSliderItem method so events can occur. /// /// Provides context information. public virtual void DrawRangeSliderItem(RangeSliderItemRendererEventArgs e) { OnRenderRangeSliderItem(e); } #endregion #region StepItem /// /// Raises RenderStepItem event. /// /// Provides context information. protected virtual void OnRenderStepItem(StepItemRendererEventArgs e) { if (RenderStepItem != null) RenderStepItem(this, e); } /// /// Draws the Step item. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderStepItem method so events can occur. /// /// Provides context information. public virtual void DrawStepItem(StepItemRendererEventArgs e) { OnRenderStepItem(e); } #endregion #region ListBoxItem /// /// Raises RenderListBoxItem event. /// /// Provides context information. protected virtual void OnRenderListBoxItem(ListBoxItemRendererEventArgs e) { if (RenderListBoxItem != null) RenderListBoxItem(this, e); } /// /// Draws the ListBoxItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderListBoxItem method so events can occur. /// /// Provides context information. public virtual void DrawListBoxItem(ListBoxItemRendererEventArgs e) { OnRenderListBoxItem(e); } #endregion #region SideNavItem /// /// Raises RenderListBoxItem event. /// /// Provides context information. protected virtual void OnRenderSideNavItem(SideNavItemRendererEventArgs e) { if (RenderSideNavItem != null) RenderSideNavItem(this, e); } /// /// Draws the ListBoxItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderListBoxItem method so events can occur. /// /// Provides context information. public virtual void DrawSideNavItem(SideNavItemRendererEventArgs e) { OnRenderSideNavItem(e); } #endregion #region TabStrip /// /// Raises RenderTabFormStrip event. /// /// Provides context information. protected virtual void OnRenderTabFormStrip(TabFormStripPainterArgs e) { if (RenderTabFormStrip != null) RenderTabFormStrip(this, e); } /// /// Draws the TabStrip. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderTabFormStrip method so events can occur. /// /// Provides context information. public virtual void DrawTabFormStrip(TabFormStripPainterArgs e) { OnRenderTabFormStrip(e); } #endregion #region TabFormItem /// /// Raises RenderTabFormItem event. /// /// Provides context information. protected virtual void OnRenderTabFormItem(ButtonItemRendererEventArgs e) { if (RenderTabFormItem != null) RenderTabFormItem(this, e); } /// /// Draws the TabStrip. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderTabFormStrip method so events can occur. /// /// Provides context information. public virtual void DrawTabFormItem(ButtonItemRendererEventArgs e) { OnRenderTabFormItem(e); } #endregion #region NewTabFormItem /// /// Raises RenderNewTabFormItem event. /// /// Provides context information. protected virtual void OnRenderNewTabFormItem(ButtonItemRendererEventArgs e) { if (RenderNewTabFormItem != null) RenderNewTabFormItem(this, e); } /// /// Draws the NewTabFormItem. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderTabFormStrip method so events can occur. /// /// Provides context information. public virtual void DrawNewTabFormItem(ButtonItemRendererEventArgs e) { OnRenderNewTabFormItem(e); } #endregion #region TabParentForm /// /// Raises RenderTabParentForm event. /// /// Provides context information. protected virtual void OnRenderTabParentForm(TabFormPainterArgs e) { if (RenderTabParentForm != null) RenderTabParentForm(this, e); } /// /// Draws the TabParentForm. If you need to provide custom rendering this is the method that you should override in your custom rendered. If you /// do not want default rendering to occur do not call the base implementation. You can call OnRenderTabParentForm method so events can occur. /// /// Provides context information. public virtual void DrawTabParentForm(TabFormPainterArgs e) { OnRenderTabParentForm(e); } #endregion } }