﻿<?xml version="1.0" encoding="utf-8"?><Type Name="DataSourceUpdateMode" FullName="System.Windows.Forms.DataSourceUpdateMode"><TypeSignature Language="C#" Value="public enum DataSourceUpdateMode" /><AssemblyInfo><AssemblyName>System.Windows.Forms</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Enum</BaseTypeName></Base><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When a control is bound to a data source using a <see cref="T:System.Windows.Forms.Binding" /> object, you can specify when an update to the data source will occur using the <see cref="T:System.Windows.Forms.DataSourceUpdateMode" /> enumeration.</para><para>When the update mode is <see cref="F:System.Windows.Forms.DataSourceUpdateMode.Never" />, you can force the data source to be updated by using the <see cref="M:System.Windows.Forms.Binding.WriteValue" /> method.</para><block subset="none" type="note"><para>Even when the update mode is set to <see cref="F:System.Windows.Forms.DataSourceUpdateMode.Never" />, the data source will be updated when the binding is first created, so at that least one update will always occur.</para></block></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Specifies when a data source is updated when changes occur in the bound control.</para></summary></Docs><Members><Member MemberName="Never"><MemberSignature Language="C#" Value="Never" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataSourceUpdateMode</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Data source is never updated and values entered into the control are not parsed, validated or re-formatted.</para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnPropertyChanged"><MemberSignature Language="C#" Value="OnPropertyChanged" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataSourceUpdateMode</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Data source is updated whenever the value of the control property changes. </para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member><Member MemberName="OnValidation"><MemberSignature Language="C#" Value="OnValidation" /><MemberType>Field</MemberType><ReturnValue><ReturnType>System.Windows.Forms.DataSourceUpdateMode</ReturnType></ReturnValue><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>After validation, the value in the control property will also be re-formatted.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Data source is updated when the control property is validated, </para></summary></Docs><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion></AssemblyInfo></Member></Members></Type>