Example #1
0
        /// <summary>
        /// Handles invocation of PreRenderColumnHeaderEvent events
        /// </summary>
        internal bool DoPreRenderColumnHeaderEvent(Graphics g,
            GridColumnHeader header, GridColumn column, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderColumnHeader != null)
            {
                GridPanel panel = header.GridPanel;

                GridPreRenderColumnHeaderEventArgs ev = new
                    GridPreRenderColumnHeaderEventArgs(g, panel, header, column, parts, bounds);

                PreRenderColumnHeader(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
Example #2
0
        /// <summary>
        /// Handles invocation of PreRenderCell events
        /// </summary>
        internal bool DoPreRenderCellEvent(Graphics g,
            GridCell gridCell, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderCell != null)
            {
                GridPreRenderCellEventArgs ev = new
                    GridPreRenderCellEventArgs(g, gridCell.GridPanel, gridCell, parts, bounds);

                PreRenderCell(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
Example #3
0
        /// <summary>
        /// Handles invocation of PostRenderColumnHeader events
        /// </summary>
        internal void DoPostRenderColumnHeaderEvent(Graphics g,
            GridColumnHeader header, GridColumn column, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderColumnHeader != null)
            {
                GridPanel panel = header.GridPanel;

                GridPostRenderColumnHeaderEventArgs ev = new
                    GridPostRenderColumnHeaderEventArgs(g, panel, header, column, parts, bounds);

                PostRenderColumnHeader(this, ev);
            }
        }
Example #4
0
        /// <summary>
        /// Handles invocation of PostRenderTextRow events
        /// </summary>
        internal void DoPostRenderTextRowEvent(
            Graphics g, GridTextRow gridTextRow, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderTextRow != null)
            {
                GridPostRenderTextRowEventArgs ev = new
                    GridPostRenderTextRowEventArgs(g, gridTextRow.GridPanel, gridTextRow, parts, bounds);

                PostRenderTextRow(this, ev);
            }
        }
Example #5
0
 ///<summary>
 /// GridPreRenderCellEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridCell"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderCellEventArgs(Graphics graphics,
     GridPanel gridPanel, GridCell gridCell, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, gridCell, parts, bounds)
 {
 }
Example #6
0
        /// <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);
            }
        }
Example #7
0
        /// <summary>
        /// Handles invocation of PostRenderGroupHeader events
        /// </summary>
        internal void DoPostRenderGroupHeaderEvent(
            Graphics g, GridGroup gridGroup, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderGroupHeader != null)
            {
                GridPanel panel = gridGroup.GridPanel;

                GridPostRenderRowEventArgs ev = new
                    GridPostRenderRowEventArgs(g, panel, gridGroup, parts, bounds);

                PostRenderGroupHeader(this, ev);
            }
        }
Example #8
0
 ///<summary>
 /// GridPreRenderFilterRowEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="filter"></param>
 ///<param name="column"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderFilterRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridFilter filter, GridColumn column, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, filter, column, parts, bounds)
 {
 }
Example #9
0
 ///<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;
 }
Example #10
0
 ///<summary>
 /// GridPreRenderColumnHeaderEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="header"></param>
 ///<param name="column"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderColumnHeaderEventArgs(Graphics graphics, GridPanel gridPanel,
     GridColumnHeader header, GridColumn column, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, header, column, parts, bounds)
 {
 }
Example #11
0
 ///<summary>
 /// GridPostRenderFilterRowEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="filter"></param>
 ///<param name="column"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderFilterRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridFilter filter, GridColumn column, RenderParts parts, Rectangle bounds)
     : base(gridPanel)
 {
     _Bounds = bounds;
     _Graphics = graphics;
     _GridFilter = filter;
     _GridColumn = column;
     _RenderParts = parts;
 }
Example #12
0
 ///<summary>
 /// GridPostRenderColumnHeaderEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="columnHeader"></param>
 ///<param name="column"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderColumnHeaderEventArgs(Graphics graphics, GridPanel gridPanel,
     GridColumnHeader columnHeader, GridColumn column, RenderParts parts, Rectangle bounds)
     : base(gridPanel)
 {
     _Bounds = bounds;
     _Graphics = graphics;
     _ColumnHeader = columnHeader;
     _GridColumn = column;
     _RenderParts = parts;
 }
Example #13
0
 ///<summary>
 /// GridPreRenderRowEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridRow"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridContainer gridRow, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, gridRow, parts, bounds)
 {
 }
Example #14
0
 ///<summary>
 /// GridPostRenderEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridRow"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridContainer gridRow, RenderParts parts, Rectangle bounds)
     : base(gridPanel, gridRow)
 {
     _Graphics = graphics;
     _RenderParts = parts;
     _Bounds = bounds;
 }
Example #15
0
        /// <summary>
        /// Handles invocation of PostRenderFilterRow events
        /// </summary>
        internal void DoPostRenderFilterRowEvent(Graphics g,
            GridFilter filter, GridColumn column, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderFilterRow != null)
            {
                GridPanel panel = filter.GridPanel;

                GridPostRenderFilterRowEventArgs ev = new
                    GridPostRenderFilterRowEventArgs(g, panel, filter, column, parts, bounds);

                PostRenderFilterRow(this, ev);
            }
        }
Example #16
0
 ///<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)
 {
 }
Example #17
0
        /// <summary>
        /// Handles invocation of PreRenderFilterRowEvent events
        /// </summary>
        internal bool DoPreRenderFilterRowEvent(Graphics g,
            GridFilter filter, GridColumn column, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderFilterRow != null)
            {
                GridPanel panel = filter.GridPanel;

                GridPreRenderFilterRowEventArgs ev = new
                    GridPreRenderFilterRowEventArgs(g, panel, filter, column, parts, bounds);

                PreRenderFilterRow(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
Example #18
0
 ///<summary>
 /// GridPostRenderTextRowEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridTextRow"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderTextRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridTextRow gridTextRow, RenderParts parts, Rectangle bounds)
     : base(gridPanel)
 {
     _Graphics = graphics;
     _RenderParts = parts;
     _Bounds = bounds;
     _GridTextRow = gridTextRow;
 }
Example #19
0
        /// <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);
        }
Example #20
0
 ///<summary>
 /// GridPreRenderTextRowEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridTextRow"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPreRenderTextRowEventArgs(Graphics graphics, GridPanel gridPanel,
     GridTextRow gridTextRow, RenderParts parts, Rectangle bounds)
     : base(graphics, gridPanel, gridTextRow, parts, bounds)
 {
 }
Example #21
0
        /// <summary>
        /// Handles invocation of PreRenderGroupHeader events
        /// </summary>
        internal bool DoPreRenderGroupHeaderEvent(
            Graphics g, GridGroup gridGroup, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderGroupHeader != null)
            {
                GridPanel panel = gridGroup.GridPanel;

                GridPreRenderRowEventArgs ev = new
                    GridPreRenderRowEventArgs(g, panel, gridGroup, parts, bounds);

                PreRenderGroupHeader(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
Example #22
0
        /// <summary>
        /// Handles invocation of PostRenderCell events
        /// </summary>
        internal void DoPostRenderCellEvent(Graphics g,
            GridCell gridCell, RenderParts parts, Rectangle bounds)
        {
            if (PostRenderCell != null)
            {
                GridPostRenderCellEventArgs ev = new
                    GridPostRenderCellEventArgs(g, gridCell.GridPanel, gridCell, parts, bounds);

                PostRenderCell(this, ev);
            }
        }
Example #23
0
        /// <summary>
        /// Handles invocation of PreRenderTextRow events
        /// </summary>
        internal bool DoPreRenderTextRowEvent(Graphics g,
            GridTextRow gridTextRow, RenderParts parts, Rectangle bounds)
        {
            if (PreRenderTextRow != null)
            {
                GridPreRenderTextRowEventArgs ev = new
                    GridPreRenderTextRowEventArgs(g, gridTextRow.GridPanel, gridTextRow, parts, bounds);

                PreRenderTextRow(this, ev);

                return (ev.Cancel);
            }

            return (false);
        }
Example #24
0
 ///<summary>
 /// GridPostRenderCellEventArgs
 ///</summary>
 ///<param name="graphics"></param>
 ///<param name="gridPanel"></param>
 ///<param name="gridCell"></param>
 ///<param name="parts"></param>
 ///<param name="bounds"></param>
 public GridPostRenderCellEventArgs(Graphics graphics,
     GridPanel gridPanel, GridCell gridCell, RenderParts parts, Rectangle bounds)
     : base(gridPanel, gridCell)
 {
     _Bounds = bounds;
     _Graphics = graphics;
     _RenderParts = parts;
 }