System.Windows.Forms.Binding.OnFormat(System.Windows.Forms.ConvertEventArgs)

Here are the examples of the csharp api class System.Windows.Forms.Binding.OnFormat(System.Windows.Forms.ConvertEventArgs) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Example 7

1. Example

Project: PowerPointLabs
Source File: CustomBinding.cs
protected override void OnFormat(ConvertEventArgs cevent)
        {
            if (this._converter != null)
            {
                var converterdValue = this._converter.Convert(cevent.Value, cevent.DesiredType, _converterParameter,
                                                              _converterCulture);
                cevent.Value = converterdValue;
            }
            else
            {
                base.OnFormat(cevent);
            }
        }