using System; using System.ComponentModel; using System.Windows.Forms; using System.Drawing; using FastReport.Utils; using FastReport.Controls; namespace FastReport.Table { partial class TableCell { #region Properties /// /// This property is not relevant to this class. /// [Browsable(false)] public override AnchorStyles Anchor { get { return base.Anchor; } set { base.Anchor = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public override DockStyle Dock { get { return base.Dock; } set { base.Dock = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new bool CanGrow { get { return base.CanGrow; } set { base.CanGrow = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new bool CanShrink { get { return base.CanShrink; } set { base.CanShrink = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new bool GrowToBottom { get { return base.GrowToBottom; } set { base.GrowToBottom = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new bool AutoWidth { get { return base.AutoWidth; } set { base.AutoWidth = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new Duplicates Duplicates { get { return base.Duplicates; } set { base.Duplicates = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public new ShiftMode ShiftMode { get { return base.ShiftMode; } set { base.ShiftMode = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public override float Left { get { return base.Left; } set { base.Left = value; } } /// /// This property is not relevant to this class. /// [Browsable(false)] public override float Top { get { return base.Top; } set { base.Top = value; } } #endregion #region Public Methods /// public override void HandleMouseHover(FRMouseEventArgs e) { if (PointInObject(new PointF(e.x, e.y))) e.handled = true; } /// public override bool PointInObject(PointF point) { return base.PointInObject(point) && !Table.IsInsideSpan(this); } /// public override void HandleMouseDown(FRMouseEventArgs e) { // do nothing } /// public override void HandleMouseMove(FRMouseEventArgs e) { // do nothing } /// public override void HandleMouseUp(FRMouseEventArgs e) { // do nothing } /// public override void HandleDragOver(FRMouseEventArgs e) { // do nothing } /// public override void HandleDragDrop(FRMouseEventArgs e) { // do nothing } /// public override void HandleDoubleClick() { Table.HandleCellDoubleClick(this); } /// public override ContextMenuBase GetContextMenu() { return Table.GetCellContextMenu(this); } /// public override SmartTagBase GetSmartTag() { return Table.GetCellSmartTag(this); } /// public override void SelectionChanged() { base.SelectionChanged(); if (Parent != null) Parent.SelectionChanged(); } /// public override string GetDisplayText() { string defaultText = base.GetDisplayText(); if (IsDesigning && Table != null) return Table.GetCellDisplayText(this, defaultText); return defaultText; } /// public override void ProvideCustomItems(DataTreeView tree) { base.ProvideCustomItems(tree); if (Table != null) Table.ProvideCustomItems(this, tree); } #endregion } }