4 types derived from Expression
PresentationFramework (3)
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
43
public abstract class BindingExpressionBase :
Expression
, IWeakEventListener
src\Framework\System\Windows\ResourceReferenceExpression.cs (1)
24
internal class ResourceReferenceExpression :
Expression
src\Framework\System\Windows\TemplateBindingExpression.cs (1)
29
public class TemplateBindingExpression :
Expression
WindowsBase (1)
Base\MS\Internal\ComponentModel\PropertyChangeTracker.cs (1)
16
internal class PropertyChangeTracker :
Expression
66 references to Expression
PresentationFramework (31)
src\Framework\MS\Internal\DataStreams.cs (1)
143
if (metadata.Journal && (!(localValueEntry.Value is
Expression
)))
src\Framework\System\Windows\Condition.cs (1)
146
if( value is
Expression
)
src\Framework\System\Windows\Data\BindingExpression.cs (1)
1473
value =
Expression
.NoValue;
src\Framework\System\Windows\Data\BindingExpressionBase.cs (1)
496
internal override
Expression
Copy( DependencyObject targetObject, DependencyProperty targetDP )
src\Framework\System\Windows\Data\BindingOperations.cs (1)
172
Expression
expr = StyleHelper.GetExpression(target, dp);
src\Framework\System\Windows\DataTrigger.cs (1)
85
if( value is
Expression
)
src\Framework\System\windows\Documents\UIElementPropertyUndoUnit.cs (1)
140
if (currentValue is
Expression
)
src\Framework\System\Windows\FrameworkContentElement.cs (2)
688
internal
Expression
GetExpressionCore(DependencyProperty dp, PropertyMetadata metadata)
696
return entry.Value as
Expression
;
src\Framework\System\Windows\FrameworkElement.cs (2)
2051
internal
Expression
GetExpressionCore(DependencyProperty dp, PropertyMetadata metadata)
2059
return entry.Value as
Expression
;
src\Framework\System\Windows\FrameworkTemplate.cs (2)
794
Expression
expr;
798
if ((expr = value as
Expression
) != null)
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
292
case 200: t = () => typeof(
Expression
); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
4177
typeof(System.Windows.
Expression
),
src\Framework\System\Windows\Markup\BamlRecordReader.cs (2)
971
if ((metadata == null) || (!metadata.Journal) || (value is
Expression
))
3823
if ((o != null) && IsNullable(propertyType) && !(o is
Expression
) && !(o is MarkupExtension) )
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5744
case KnownElements.Expression: t = typeof(System.Windows.
Expression
); break;
src\Framework\System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
823
Expression
expression = value as
Expression
;
src\Framework\System\Windows\ResourceReferenceExpression.cs (1)
73
internal override
Expression
Copy( DependencyObject targetObject, DependencyProperty targetDP )
src\Framework\System\Windows\Setter.cs (1)
191
if( value is
Expression
)
src\Framework\System\Windows\StyleHelper.cs (8)
1649
Expression
expr;
1652
if ((expr = value as
Expression
)!= null)
2937
Expression
expr = value as
Expression
;
2983
expr = value as
Expression
;
5480
private static
Expression
GetExpressionCore(
5506
internal static
Expression
GetExpression(
5526
Expression
result = _getExpression(d, dp, dp.GetMetadata(d.DependencyObjectType));
src\Framework\System\Windows\Trigger.cs (1)
86
if (value is
Expression
)
WindowsBase (35)
Base\MS\Internal\InheritanceContextChangedEventManager.cs (1)
57
Debug.Assert(listener is
Expression
);
Base\System\Windows\DependencyObject.cs (21)
32
/// <see cref="
Expression
"/> is used to define relationships between properties. SetValue
658
Expression
newExpr = null;
687
newExpr = value as
Expression
;
731
Expression
currentExpr =
733
: (oldEntry.IsExpression) ? (oldEntry.LocalValue as
Expression
)
1006
Expression
currentExpr = (oldEntry.IsExpression) ? (current as
Expression
) : null;
1058
internal static void ChangeExpressionSources(
Expression
expr, DependencyObject d, DependencyProperty dp, DependencySource[] newSources)
1801
Expression
expr,
1809
if (value != DependencyProperty.UnsetValue && value !=
Expression
.NoValue)
1832
if (value ==
Expression
.NoValue)
1836
newEntry.SetExpressionValue(
Expression
.NoValue, expr);
1961
(
Expression
) value,
2401
internal static void UpdateSourceDependentLists(DependencyObject d, DependencyProperty dp, DependencySource[] sources,
Expression
expr, bool add)
2483
internal static void ValidateSources(DependencyObject d, DependencySource[] newSources,
Expression
expr)
2570
bool result = (entry.HasExpressionMarker || o is
Expression
);
2577
private static
Expression
GetExpression(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata)
2601
return (
Expression
) entry.LocalValue;
3290
else if (oldEntry.IsExpression && oldEntry.ModifiedValue.ExpressionValue ==
Expression
.NoValue)
3393
else if (entry.IsExpression && entry.ModifiedValue.ExpressionValue ==
Expression
.NoValue)
3551
internal delegate
Expression
AlternativeExpressionStorageCallback(DependencyObject d, DependencyProperty dp, PropertyMetadata metadata);
Base\System\Windows\DependencyProperty.cs (1)
407
if (defaultValue is
Expression
)
Base\System\Windows\DependencySource.cs (1)
7
/// Represents dependency scope of an <see cref="
Expression
"/>
Base\System\Windows\DependentList.cs (8)
16
public void Add(DependencyObject d, DependencyProperty dp,
Expression
expr)
28
public void Remove(DependencyObject d, DependencyProperty dp,
Expression
expr)
60
Expression
expression = snapList[i].Expr;
149
public Dependent(DependencyObject o, DependencyProperty p,
Expression
e)
172
public
Expression
Expr
179
return (
Expression
)_wrEX.Target;
233
Expression
ex = (
Expression
)_wrEX.Target;
Base\System\Windows\Expression.cs (1)
120
internal virtual
Expression
Copy( DependencyObject targetObject, DependencyProperty targetDP )
Base\System\Windows\Freezable.cs (2)
965
sourceValue = ((
Expression
)sourceValue).Copy(this, dp);
975
Debug.Assert(!(sourceValue is
Expression
&& sourceValue is Freezable),