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