PropertyTabChangedEventArgs

PropertyTabChangedEventArgs

System. Windows .Forms (system. windows .forms.dll) class

The PropertyGrid control may display a number of different System.Windows.Forms.Design.PropertyTab panes. When the tab changes, the grid raises PropertyGrid.PropertyTabChanged , and this class encapsulates the data for that event.

You can retrieve the NewTab (to which the grid is about to change) and the OldTab (from which the grid is about to change).

 public class  PropertyTabChangedEventArgs  : EventArgs {  // Public Constructors  public  PropertyTabChangedEventArgs  (System.Windows.Forms.Design.PropertyTab  oldTab  ,         System.Windows.Forms.Design.PropertyTab  newTab  );  // Public Instance Properties  public PropertyTab  NewTab  {get; }    public PropertyTab  OldTab  {get; } } 

Hierarchy

System.Object System.EventArgs PropertyTabChangedEventArgs

Passed To

PropertyGrid.OnPropertyTabChanged() , PropertyTabChangedEventHandler.{BeginInvoke() , Invoke()}



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net