Ejemplo n.º 1
0
 /// <summary>
 /// Raises the CellPropertyChanged event
 /// </summary>
 /// <param name="e">A CellEventArgs that contains the event data</param>
 internal void OnCellPropertyChanged(CellEventArgs e)
 {
     if (this.Table != null)
     {
         this.Table.OnCellPropertyChanged(e);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Raises the PropertyChanged event
        /// </summary>
        /// <param name="e">A CellEventArgs that contains the event data</param>
        protected virtual void OnPropertyChanged(CellEventArgs e)
        {
            e.SetColumn(this.Index);

            if (this.Row != null)
            {
                e.SetRow(this.Row.Index);
            }

            if (this.CanRaiseEvents)
            {
                if (this.Row != null)
                {
                    this.Row.OnCellPropertyChanged(e);
                }

                if (PropertyChanged != null)
                {
                    PropertyChanged(this, e);
                }
            }
        }