private void dropDownZoom_SelectedValueChanged(object sender, Telerik.WinControls.UI.Data.ValueChangedEventArgs e)
 {
     if (!(this.dropDownZoom.SelectedValue is double))
     {
         return;
     }
     this.SetZoom((double)this.dropDownZoom.SelectedValue);
 }
 public PopupEditorNotificationData()
 {
     this.notificationContext             = PopupEditorNotificationData.Context.None;
     this.valueChangedEventArgs           = (Telerik.WinControls.UI.Data.ValueChangedEventArgs)null;
     this.positionChangingCancelEventArgs = (PositionChangingCancelEventArgs)null;
     this.positionChangedEventArgs        = (Telerik.WinControls.UI.Data.PositionChangedEventArgs)null;
     this.listItemDataBindingEventArgs    = (ListItemDataBindingEventArgs)null;
     this.listItemDataBoundEventArgs      = (ListItemDataBoundEventArgs)null;
     this.creatingVisualListItemEventArgs = (CreatingVisualListItemEventArgs)null;
     this.keyPressEventArgs    = (KeyPressEventArgs)null;
     this.mouseEventArgs       = (MouseEventArgs)null;
     this.sortStyleChanged     = (SortStyleChangedEventArgs)null;
     this.visualItemFormatting = (VisualItemFormattingEventArgs)null;
     this.keyEventArgs         = (KeyEventArgs)null;
 }
 public PopupEditorNotificationData(Telerik.WinControls.UI.Data.ValueChangedEventArgs valueChangedEventArgs)
     : this()
 {
     this.notificationContext   = PopupEditorNotificationData.Context.SelectedValueChanged;
     this.valueChangedEventArgs = valueChangedEventArgs;
 }
Example #4
0
 private void element_SelectedValueChanged(object sender, EventArgs e)
 {
     Telerik.WinControls.UI.Data.ValueChangedEventArgs changedEventArgs = (Telerik.WinControls.UI.Data.ValueChangedEventArgs)e;
     this.OnSelectedValueChanged(sender, changedEventArgs.Position, changedEventArgs.NewValue, changedEventArgs.OldValue);
 }