ConvertEventArgs

ConvertEventArgs

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

Part of the data-binding framework, this EventArgs class is used when the Binding.Format event is raised. You can find out what the DesiredType is to which the Value object should be converted. See Binding for more information.

 public class  ConvertEventArgs  : EventArgs {  // Public Constructors  public  ConvertEventArgs  (object  value  , Type  desiredType  );  // Public Instance Properties  public Type  DesiredType  {get; }    public object  Value  {set; get; } } 

Hierarchy

System.Object System.EventArgs ConvertEventArgs

Passed To

Binding.{OnFormat() , OnParse()} , ConvertEventHandler.{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