コード例 #1
0
 private void OnPropertyChanged(object sender, Infragistics.Win.PropertyChangedEventArgs e)
 {
     if (e.ChangeInfo.PropId.ToString() == ActiveSelectionCellRangeFormatPropertyName)
     {
         this.NotifyPropertyChanged(ActiveSelectionCellRangeFormatPropertyName);
     }
 }
コード例 #2
0
        protected override void OnPropertyChanged(Infragistics.Win.PropertyChangedEventArgs e)
        {
            // verify that the tabs collection is in sync with the smart parts
            this.VerifySmartParts();

            base.OnPropertyChanged(e);
        }
コード例 #3
0
        /// <summary>
        /// Overriden. Used to invoke the <see cref="PropertyChanged"/> event when a property of the object or one of its subobjects has changed.
        /// </summary>
        /// <param name="e">Event args that provides information about the property change.</param>
        protected override void OnPropertyChanged(Infragistics.Win.PropertyChangedEventArgs e)
        {
            if (e.ChangeInfo.PropId is PropertyIds)
            {
                if ((PropertyIds)e.ChangeInfo.PropId == PropertyIds.ControlPanes)
                {
                    // verify the control panes collection
                    this.VerifySmartParts();
                }
            }

            base.OnPropertyChanged(e);
        }
コード例 #4
0
 /// <summary>
 /// Handles the PropertyChanged event of the ultraRadialMenu1 control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Infragistics.Win.PropertyChangedEventArgs"/> instance containing the event data.</param>
 private void ultraRadialMenu1_PropertyChanged(object sender, Infragistics.Win.PropertyChangedEventArgs e)
 {
     if (e.ChangeInfo.PropId is Infragistics.Win.UltraWinRadialMenu.PropertyIds)
     {
         switch ((Infragistics.Win.UltraWinRadialMenu.PropertyIds)e.ChangeInfo.PropId)
         {
         // listen for the Expanded property changed notification, and reposition the radial menu accordingly.
         case Infragistics.Win.UltraWinRadialMenu.PropertyIds.Expanded:
             this.ShowRadialMenu();
             break;
         }
     }
 }