OneTime Field Home
This page is specific to:.NET Framework Version:3.5
.NET Framework Class Library
OneTime Field
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Updates the binding target when the application starts or when the data context changes. This type of binding is appropriate if you are using data where either a snapshot of the current state is appropriate to use or the data is truly static. This type of binding is also useful if you want to initialize your target property with some value from a source property and the data context is not known in advance. This is essentially a simpler form of OneWay binding that provides better performance in cases where the source value does not change.

Namespace: System.Windows.Data
Assembly:   PresentationFramework (in PresentationFramework.dll)

Syntax

'Usage

Dim value As BindingMode

value = BindingMode.OneTime


'Declaration

Public Const OneTime As BindingMode

public static final BindingMode OneTime

You cannot use fields in XAML.
Platforms

Windows Vista

The .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.5, 3.0
See Also

Reference

BindingMode Type
System.Windows.Data Namespace
© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View