/// <summary> /// Handles invocation of PostRenderGroupBox events /// </summary> internal void DoPostRenderGroupBoxEvent(Graphics g, GridGroupByRow groupByRow, GridGroupBox box, RenderParts parts, Rectangle bounds) { if (PostRenderGroupBox != null) { GridPostRenderGroupBoxEventArgs ev = new GridPostRenderGroupBoxEventArgs(g, groupByRow.GridPanel, groupByRow, box, parts, bounds); PostRenderGroupBox(this, ev); } }
/// <summary> /// Handles invocation of PreRenderGroupBox events /// </summary> internal bool DoPreRenderGroupBoxEvent(Graphics g, GridGroupByRow groupByRow, GridGroupBox box, RenderParts parts, Rectangle bounds) { if (PreRenderGroupBox != null) { GridPreRenderGroupBoxEventArgs ev = new GridPreRenderGroupBoxEventArgs(g, groupByRow.GridPanel, groupByRow, box, parts, bounds); PreRenderGroupBox(this, ev); return (ev.Cancel); } return (false); }
/// <summary> /// Handles invocation of PostRenderGroupBoxConnector events /// </summary> internal void DoPostRenderGroupBoxConnectorEvent(Graphics g, GridGroupByRow groupByRow, GridGroupBox box1, GridGroupBox box2) { if (PostRenderGroupBoxConnector != null) { GridPostRenderGroupBoxConnectorEventArgs ev = new GridPostRenderGroupBoxConnectorEventArgs(g, groupByRow.GridPanel, groupByRow, box1, box2); PostRenderGroupBoxConnector(this, ev); } }
/// <summary> /// Handles invocation of PreRenderGroupBoxConnector events /// </summary> internal bool DoPreRenderGroupBoxConnectorEvent(Graphics g, GridGroupByRow groupByRow, GridGroupBox box1, GridGroupBox box2) { if (PreRenderGroupBoxConnector != null) { GridPreRenderGroupBoxConnectorEventArgs ev = new GridPreRenderGroupBoxConnectorEventArgs(g, groupByRow.GridPanel, groupByRow, box1, box2); PreRenderGroupBoxConnector(this, ev); return (ev.Cancel); } return (false); }
///<summary> /// GridPreRenderGroupBoxEventArgs ///</summary> ///<param name="graphics"></param> ///<param name="gridPanel"></param> ///<param name="groupByRow"></param> ///<param name="gridGroupBox"></param> ///<param name="parts"></param> ///<param name="bounds"></param> public GridPreRenderGroupBoxEventArgs(Graphics graphics, GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox gridGroupBox, RenderParts parts, Rectangle bounds) : base(graphics, gridPanel, groupByRow, gridGroupBox, parts, bounds) { }
/// <summary> /// Handles invocation of ConfigureGroupBox events /// </summary> internal void DoConfigureGroupBoxEvent( GridGroupByRow groupByRow, GridGroupBox gridGroupBox) { if (ConfigureGroupBox != null) { GridConfigureGroupBoxEventArgs ev = new GridConfigureGroupBoxEventArgs(groupByRow.GridPanel, groupByRow, gridGroupBox); ConfigureGroupBox(this, ev); } }
///<summary> /// GridPostRenderGroupBoxEventArgs ///</summary> ///<param name="graphics"></param> ///<param name="gridPanel"></param> ///<param name="groupByRow"></param> ///<param name="gridGroupBox"></param> ///<param name="parts"></param> ///<param name="bounds"></param> public GridPostRenderGroupBoxEventArgs(Graphics graphics, GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox gridGroupBox, RenderParts parts, Rectangle bounds) : base(gridPanel) { _Graphics = graphics; _GroupByRow = groupByRow; _GridGroupBox = gridGroupBox; _RenderParts = parts; _Bounds = bounds; }
///<summary> /// GridPreRenderGroupBoxConnectorEventArgs ///</summary> ///<param name="graphics"></param> ///<param name="gridPanel"></param> ///<param name="groupByRow"></param> ///<param name="groupBox1"></param> ///<param name="groupBox2"></param> public GridPreRenderGroupBoxConnectorEventArgs(Graphics graphics, GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox groupBox1, GridGroupBox groupBox2) : base(graphics, gridPanel, groupByRow, groupBox1, groupBox2) { }
///<summary> /// GridPostRenderGroupBoxConnectorEventArgs ///</summary> ///<param name="graphics"></param> ///<param name="gridPanel"></param> ///<param name="groupByRow"></param> ///<param name="groupBox1"></param> ///<param name="groupBox2"></param> public GridPostRenderGroupBoxConnectorEventArgs(Graphics graphics, GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox groupBox1, GridGroupBox groupBox2) : base(gridPanel) { _Graphics = graphics; _GroupByRow = groupByRow; _GridGroupBox1 = groupBox1; _GridGroupBox2 = groupBox2; }
///<summary> /// GridConfigureGroupBoxEventArgs ///</summary> ///<param name="gridPanel"></param> ///<param name="groupByRow"></param> ///<param name="gridGroupBox"></param> public GridConfigureGroupBoxEventArgs(GridPanel gridPanel, GridGroupByRow groupByRow, GridGroupBox gridGroupBox) : base(gridPanel) { _GroupByRow = groupByRow; _GridGroupBox = gridGroupBox; }
internal GridGroupBox(GridGroupByRow groupBy, GridColumn column) { _GridGroupBy = groupBy; _Column = column; _GroupBoxStyle = groupBy.GroupBoxStyle; }