blob: 373f6ff7439ce8f55cbada73420fcc561fba515e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
/*******************************************************************************
* Copyright (c) 2006, 2010 Soyatec (http://www.soyatec.com) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Soyatec - initial API and implementation
*******************************************************************************/
package org.eclipse.papyrus.xwt.internal.core;
/**
* <p>
* Default
* </p>
* <p>
* The default UpdateSourceTrigger value of the binding target property. The default value for most dependency properties is PropertyChanged, while the Text property has a default value of LostFocus.
* </p>
* <p>
* A programmatic way to determine the default UpdateSourceTrigger value of a dependency property is to get the property metadata of the property using GetMetadata and then check the value of the DefaultUpdateSourceTrigger property.
* </p>
* <p/>
* <p>
* PropertyChanged
* </p>
* <p>
* Updates the binding source immediately whenever the binding target property changes.
* </p>
* <p/>
* <p>
* LostFocus
* </p>
* <p>
* Updates the binding source whenever the binding target element loses focus.
* </p>
*
* @author yyang
*
*/
public enum UpdateSourceTrigger {
Default, PropertyChanged, LostFocus;
}
|